March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I have a set of data in which it has 100 rows filled with repeated names. I need to create a Gauge chart with the below condition. Please help me to get it solved as I am new to Power BI.
Condition: Value = count of filtered name / total count (i.e. 100)
For example: I have 100 rows with names as A, B, C, D & E which are repeatative. If count of A is 26, then value = 26/100 = 0.26, this should go as data for "Value" field while creating Gauge Chart. I will be having silcer to select the required option to know the value.
Solved! Go to Solution.
Hi @Dineshkumar91 ,
I tried to create your model with the following data (only 10 rows but the idea remains the same):
Here is what I can get:
The measure I used is as follows:
# names =
DIVIDE(
COUNTROWS( 'Table' ),
CALCULATE(
COUNTROWS( 'Table' ),
ALL( 'Table'[Name] )
)
)
If I answered your question, please mark my post as a solution.
Best,
Hi @Dineshkumar91 ,
I tried to create your model with the following data (only 10 rows but the idea remains the same):
Here is what I can get:
The measure I used is as follows:
# names =
DIVIDE(
COUNTROWS( 'Table' ),
CALCULATE(
COUNTROWS( 'Table' ),
ALL( 'Table'[Name] )
)
)
If I answered your question, please mark my post as a solution.
Best,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |