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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Calculate Percent Progress using Multiple Filter in Denominator

Hello.
Good evening.
I would like to ask for you assistance.
I am a Newbie here, and I'm struggling to get the percentage progress.

AbegaelFollero_0-1619358124025.png

This data is not related to each other. 
Currently, what I did is 

Pipeline Progress per Unit No = Divide(Numerator, Denominator)
whereas;
Numerator = DistinctCount('S3D_REPORT'[Line ID Modelled in S3D)
Denominator = CountX(Filter('LineList_Data',Linelist'_Data [Unit No] = "01"), Linelist_Data [Unit No])

My problem is how to filter the other Unit.
And also, I would like to ask for an Alternate Result if there's no unit selected.

Thank you. 



1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

Please correct me if I wrongly understood your question.

Maybe you can consider using Linelist_Data[Unit No] as a slicer . So you dont need to specify the value of Linelist_Data[Unit No] in the formula .

Then create a measure to count the Linelist_Data[Unit No].

Denominator = COUNTX(LineList_Data,SELECTEDVALUE(LineList_Data[unit No]))

 

The effect is as shown

Ailsa-msft_0-1619514081620.png

Ailsa-msft_1-1619514081621.png

If you do not filter in the slicer, the return value is the count of all non-empty results in the column .

 

Best Regards

Community Support Team _ Ailsa Tao

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

Please correct me if I wrongly understood your question.

Maybe you can consider using Linelist_Data[Unit No] as a slicer . So you dont need to specify the value of Linelist_Data[Unit No] in the formula .

Then create a measure to count the Linelist_Data[Unit No].

Denominator = COUNTX(LineList_Data,SELECTEDVALUE(LineList_Data[unit No]))

 

The effect is as shown

Ailsa-msft_0-1619514081620.png

Ailsa-msft_1-1619514081621.png

If you do not filter in the slicer, the return value is the count of all non-empty results in the column .

 

Best Regards

Community Support Team _ Ailsa Tao

 

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

@Anonymous , not very clear. but isfiltered can help

refer: https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

 

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

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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