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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AbegaelFollero
Frequent Visitor

How to filter the correct value of Denominator to get the Percentage Progress

Attached is my not-yet finished report for Pipeline monitoring Progress.
 
I have prepared 2 slicers for LIne Id modelled in S3d and Line No as per line list.
 
Now, for my percentage, it is ration of
 
NUMERATOR = DISTINCTCOUNT(S3D_STATUS_REPORT[Line ID Modelled in S3D])
 
And for denominator,
 
DENOMINATOR = COUNTX(FILTER(
LINE_LIST_DATA,
LINE_LIST_DATA[Unit No.] IN {"01","02","03","04","09","32","33","34","43","45","46","48","60","61","62","70"}), LINE_LIST_DATA[Unit No.] )
 
So I got the Percentage progress = 61.70 %
AbegaelFollero_0-1619365452466.png
Now, that I have filtered the Unit 01, I have encountered problem.
My Percentage Progress resulted based on the Numerator and my denominator was still based on the total Line number in S3D.
 
Please help me to how to filter the correct Count of Line Number in List per unit No.
AbegaelFollero_1-1619365489992.png

 



2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @AbegaelFollero ,

 

Try to modify DENOMINATOR  as below:

DENOMINATOR = COUNTROWS(FILTER(
LINE_LIST_DATA,
LINE_LIST_DATA[Unit No.] IN {"01","02","03","04","09","32","33","34","43","45","46","48","60","61","62","70"}))

If the problem persists,could you share the sample pbix with dummy data?

https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-... 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@AbegaelFollero ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors