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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
SAPpowerbi
Helper II
Helper II

Distinct count of Column below 15 .5 percentage of calculated measure

Hello Team ,

 

I have query , where i need distinct count of Distributor Name where Revenue is less than 15.5%

below is  some dummy Source data and ouput .

 

 Source Data 

RegionDistrubutor NameRevenue % (Calculated measure %) 
UKABEnterprice20.5%
UKACG10.5%
UKDAM13.5%
UKWAP25.5%
VaitnamAB21.2%
VaitnamBD22.2%
Vaitnam QZ12.3%
Vaitnam WW12.1%
AustreliyaAA18.2%
AusterliyaBB16.2%

 

I want 2 Output one is for Graph and another is for Table .

 

1 - Graph Output (Need  DIstinct count of distributor name where revenue below 15.5%) also there is no data for austreliya  still we need to show 0 as count in graph .

X -axis (Region Name)Y -axis (Distrubutor name distinct count)
UK2
Vaitnam2
Austreliya0

 

2 - Table output -(Need Revenue below 15.5%)

RegionDistributor NameRevenue %Distiinct count
UKACG10.5%1
UKDAM13.5%1
Vaitnam QZ12.3%1
Vaitnam WW12.1%1

 

 

Thank you in advance , please help me to resolve this issue.

1 ACCEPTED SOLUTION

Yes it's perfect working ,Thank you so much 😊 

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

For the first solution, try this measure

Measure1 = countrows(filter(values(data[distributor name]),[Revenue %]<0.155))

Drag Region and Measure1 to your visual.

Does this work?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Yes it's perfect working ,Thank you so much 😊 

You are welcome.  If my reply helped, please mark it as Answer.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
TomMartens
Super User
Super User

Hey @SAPpowerbi ,

 

can you please create a Power BI desktop file that contains the sample data using the manual input method, but still reflects your data model, including the measure. Upload the pbix to onedrive or dropbox and share the link. if you are using Excel to create the sample data, share the xlsx as well.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors