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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
SachinNamdeo-20
Helper II
Helper II

Dealer count of their dynamic achieved percentage

"Dear community,
Firstly I explain the data which I have, I have two tables 
Cube_invoice 
Cube_target 
These 2 tables are interconnected with a calendar table with a date column in which,
sold to partner code is DEALER 
invoice quantity is our SALES 
invoice Target is our TARGET 
cube invoice:-Screenshot_20230202_175756.png
with the help of this data I calculate the monthly achievement with this measure

 

MTD = TOTALMTD(SUM(CUBE_INVOICE[INVOICE QUANTITY]),'Calendar_new'[Date])

 


CUBE_TARGET:-
Screenshot_20230202_175719.png
And also same for the monthly target 

 

MTD target = TOTALMTD(SUM(CUBE_TARGET[TARGET QUANTITY]),'Calendar_new'[Date])

 


Now I want to calculate the  COUNT of that dealer who has achieved this respectively:-
0 to 20% of the monthly target 
20 to 40% of the monthly target 
40 to 60% of the monthly target 
60 to 80% of the monthly target 
80 to 100% of the monthly target "

"My goal is to calculate the number of dealers who have achieved their target data, such as the number of dealers who have achieved their 0 to 20 percent target and also the number of dealers who have achieved their 20 to 40 percent target, etc".

Please help if anyone have an issue to understanding the data then here is my pbi file link:-

 

https://drive.google.com/file/d/1yLE3DRvAxAvvzLZhPigTa89kS6pRIpY_/view?usp=share_link

 





1 REPLY 1
amitchandak
Super User
Super User

@SachinNamdeo-20 , Divide these two and create dynamic segmentation


Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.