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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors