Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi, apologies if this has been answered in another thread, perhaps I am not phrasing my question correctly.
I have data that looks like this (each row is a 'job'):
Region | Status | Status Key |
West Midlands | Complete | 1 |
West Midlands | Complete | 1 |
West Midlands | Not Complete | 0 |
East Midlands | Complete | 1 |
East Midlands | Complete | 1 |
East Midlands | Complete | 1 |
North East | Not Complete | 0 |
North East | Not Complete | 0 |
North East | Complete | 1 |
On a clustered chart, I want to show the Region on the Axis, and the Status as the legend.
For each region, I want to know the total no. of Jobs in that region, and then beside it the % complete.
Can anyone help please?
Solved! Go to Solution.
Hi @Aimeeclaird ,
Based on your description, you can create these two measures:
Total = COUNTROWS('Table')
Percentage =
VAR _complete =
CALCULATE ( COUNT ( 'Table'[Region] ), 'Table'[Status] = "Complete" )
RETURN
_complete / [Total]
Attached a sample file in the below, hopes to help you.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Aimeeclaird ,
Based on your description, you can create these two measures:
Total = COUNTROWS('Table')
Percentage =
VAR _complete =
CALCULATE ( COUNT ( 'Table'[Region] ), 'Table'[Status] = "Complete" )
RETURN
_complete / [Total]
Attached a sample file in the below, hopes to help you.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
124 | |
114 | |
74 | |
65 | |
46 |