Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Sriku
Helper IV
Helper IV

Bucket matrics and create RAG status

Hi Team,

 

Need to count the total metrics and the total bucket as Red >0 and Green =0:Example.PNG

CountryMetrics1Metrics1Metrics1Metrics1Total
CA00000
OR01102
WE00000
IN100 1
LI000 0
TE00000
SO01102
LI000 0
DE00000
5 REPLIES 5
amitchandak
Super User
Super User

@Sriku , how come are Metrics has the same name Metrics1

 

You can create a new measure

 

Total = sumx(Table,[Metrics1] +[Metrics2]+[Metrics3]+[Metrics4])

harshnathani
Community Champion
Community Champion

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)

harshnathani
Community Champion
Community Champion

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors