The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have one field which I want to display using a Gauge. The field is a status field and is populated with Approved, Received, Line Manager.
I want to use the Gauge to show the number of each of Approved, Received, Line Manager. I want to show this against the total of all records in the field regardless of the status.
Thanks.
Solved! Go to Solution.
Hi @PowerBrowse ,
Please try:
Maximun value = CALCULATE(COUNT('Table'[Status]) ,ALL())
Value =
VAR _slicer = SELECTEDVALUE('Table'[Status])
VAR _count =
CALCULATE(
COUNT('Table'[Status]),
'Table'[Status] = _slicer
)
RETURN
_count
The PBIX file is attached for reference.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @PowerBrowse ,
Please try:
Maximun value = CALCULATE(COUNT('Table'[Status]) ,ALL())
Value =
VAR _slicer = SELECTEDVALUE('Table'[Status])
VAR _count =
CALCULATE(
COUNT('Table'[Status]),
'Table'[Status] = _slicer
)
RETURN
_count
The PBIX file is attached for reference.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Thanks for the help.
User | Count |
---|---|
71 | |
65 | |
62 | |
50 | |
28 |
User | Count |
---|---|
117 | |
75 | |
62 | |
54 | |
43 |