Approach SUMX logic and context transition in a domo calculation

Giomil83
Giomil83 Member
edited October 1 in Beast Mode

Hi to everyone,

I am trying to figure out How to calculate dynamicly based on the filtered input 3 simple conditional Calculations. Completed Clients Partialy Completed and incompleted.

The caviat here is that I want this calculation to iterate through the Client,Country,City context before producing the final output this way it can provide different answers per client based on the active filtered context.
Scenario: I have 3 text boxes with 3 measures Complete,Partialy Completed,Incomplete
So no Dimension filtering the measures directly.
But when I select on Dimension from another Graph or I will filter a specific City then the context in which this calulation is done changes.

How can I approach this?


Dataset:
Client

Country

City

HasValues

Missing Values

Status

Client 1

US

NY

1

0

Complete

Client 1

US

Oregon

0

1

Incomplete

Client 2

US

NY

1

0

Complete

Client 2

US

Oregon

1

0

Complete

Client 3

US

NY

0

1

Incomplete

Client 3

US

Oregon

0

1

Incomplete

Total

3

3

Question 1: How many clients I have Completed,Partialy completed and Incomplet on Client Level Globaly?

1 Completed (Client 2), 1 Partialy completed (Client 1) and 1 Incomplete (Client 3)

Question 2: How is NY performing?

2 Completed 1 Incomplet

Question 3: How is Oregon performing?

1 Completed 2 Incompleted