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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Partner billing count

hi,

can any one help me on below issue on dax 

I need to get the partners count of biling for how many partners had done sales upto 50%,80%,100%.

I need to get the count of partners for Q1,Q2,Q,Q4 wise billing .

  • I have following tables :- Sales,calender table.

please refere screenshot for required ouput

 

vs_7_0-1645785921903.png

vs_7_1-1645786270069.png

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @amitchandak,

I need count of partners who has done billing in current years vs last year and generated revenue upto 50%,80%,100%.

i want to find the count of 50 percent partners.

 

For example:

IF partners has done billing in current year and generated revenue the count of partners for 100 percent is 6067.

 

I have tried below dax measures

1. Total Revenue = SUM(Sales[F Net Value_CR])

2. calculated Turnover = TO upto 100% = CALCULATE([Total Revenue]* 0.10)

3. Top 100% =
VAR custcount = DISTINCTCOUNT( 'Sales'[PARTNERCODE] )
RETURN
CALCULATE (
[TO upto 100%],
KEEPFILTERS (
TOPN ( custcount, VALUES ( 'Sales'[PARTNERCODE] ),[TO upto 100%], DESC )
)
)
 
Im getting below output which is wrong values from above screenshot.
vs_7_0-1645848594741.png

 

Hi,

Share a dummy dataset and on that dataset show the expected result.


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

@Anonymous ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

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

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 and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.