Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi Team,
Need to count the total metrics and the total bucket as Red >0 and Green =0:
Country | Metrics1 | Metrics1 | Metrics1 | Metrics1 | Total |
CA | 0 | 0 | 0 | 0 | 0 |
OR | 0 | 1 | 1 | 0 | 2 |
WE | 0 | 0 | 0 | 0 | 0 |
IN | 1 | 0 | 0 | 1 | |
LI | 0 | 0 | 0 | 0 | |
TE | 0 | 0 | 0 | 0 | 0 |
SO | 0 | 1 | 1 | 0 | 2 |
LI | 0 | 0 | 0 | 0 | |
DE | 0 | 0 | 0 | 0 | 0 |
HI @Sriku ,
Red >0 = CALCULATE(COUNTA(Table[County]), FILTER(Table , [metric1] = 1))
Green =0 = CALCULATE(COUNTA(Table[County]), FILTER(Table , [metric1] = 0))
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Hi @Sriku ,
Total = [metric1] + [metric2] + [metric3] +[metric4]
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
How to total, Can you please explain in logic. I am learner to Powerbi
Hi @Sriku ,
These metrics are Columns or measures.
What is the expected output. Your question is unclear.
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
17 | |
14 | |
14 | |
12 | |
11 |