Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello experts,
Looking for a solution/work around to a problem that i ran into. I have a dashboard with 4 tiles (table visual displayed to look like a card) on top row. These tiles display the count of 4 different status. Another table visual displayed in the bottom which shows everything by default. User can click on any status count on top and the bottom visual will filter to only show the selected status.
What i am trying to achieve is display only Active status in the bottom table by default. User should have the ability to select any other status by clicking on the top staus count as well. Is there a any way to get this done?
Thanks,
Naizam
Hi, @naizam
If you take the answer of someone, please mark it as the solution to help the other member0s who have same problems find it more quickly. If not, let me know and I'll try to help you further. Thanks.
Best Regards
Allan
Hi @v-alq-msft ,
Thank you for the solution, appreciate it. I havent had a chance to try this yet. I will update the outcome in next couple of days.
Thanks,
Naizam
Hi, @naizam
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
You may create measures as below.
Top Active =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALLSELECTED('Table'),
[Status]="Active"
)
),0
)
Top Retired =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALLSELECTED('Table'),
[Status]="Retired"
)
),0
)
Top On Hold =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALLSELECTED('Table'),
[Status]="On Hold"
)
),0
)
Top Migrated to AWS =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALLSELECTED('Table'),
[Status]="Migrated to AWS"
)
),0
)
Bottom Active =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALL('Table'),
[Status]="Active"
)
),0
)
Bottom Retired =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALL('Table'),
[Status]="Retired"
)
),0
)
Bottom On Hold =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALL('Table'),
[Status]="On Hold"
)
),0
)
Bottom Migrated to AWs =
COALESCE(
CALCULATE(
DISTINCTCOUNT('Table'[ID]),
FILTER(
ALL('Table'),
[Status]="Migrated to AWS"
)
),0
)
Result:
If I misunderstand your thoughts, please show us some sample data and the expected result. Thanks.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
107 | |
101 | |
38 | |
35 |
User | Count |
---|---|
149 | |
122 | |
76 | |
74 | |
52 |