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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dudasucx
Regular Visitor

Row Total By two Categories

Hello I have a dataser similar to:

 

 East West Total 
CLIENT 1130 150 280% of Total
Current12016%13916%25916%
Past Due101%121%221%
CLIENT 2108 125 233 
Current10013%11613%21613%
Past Due81%91%171%
CLIENT 358 67 125 
Current507%587%1087%
Past Due81%91%171%
CLIENT 4455 526 981 
Current45060%52060%97060%
Past Due51%61%111%
       
TOTAL751100%868100%1619

100%

 

 

 

As you can see when I add the column Sales Again, and then format it to show as total of column, it gives me the percentage of the whole Division East, West. Not for each client.

 

What I need to have is:

 East West Total 
CLIENT 1130 150 280% of Total
Current12092%13992%25992%
Past Due108%128%228%
CLIENT 2108 125 233 
Current10093%11693%21693%
Past Due87%97%177%
CLIENT 358 67 125 
Current5086%5886%10886%
Past Due814%914%1714%
CLIENT 4455 526 981 
Current45099%52099%97099%
Past Due51%61%111%

I tried doing a formula like this: 

Total Per Client = CALCULATE(SUM('Clientes'[Invoices]),ALLEXCEPT('Clientes','Clientes'[CLIENT]))
 
But this formula gives me a table like this:
 EastWestTotal
CLIENT 1280280280
Current280280280
Past Due280280280
CLIENT 2233233233
Current233233233
Past Due233233233
CLIENT 3125125125
Current125125125
Past Due125125125
CLIENT 4981981981
Current981981981
Past Due981981981

 

The question is:

 

How can I make a Total By Client and By region, So then I can make a Divide of the total by this new measure to obtain the % of each client by region.

 

Thanks in advance

1 ACCEPTED SOLUTION
CheenuSing
Community Champion
Community Champion

Hi @dudasucx 

 

Please check th link

Solved: Category Percentage of Row Total - Microsoft Power BI Community

 

Cheers


CheenuSing

 

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Are Current and Past Due measures?  Share the link from where i can download your PBI file.


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

There is only one measure, there is no time intelligence involved here. I wll create a sample file to share.

CheenuSing
Community Champion
Community Champion

Hi @dudasucx 

 

Please check th link

Solved: Category Percentage of Row Total - Microsoft Power BI Community

 

Cheers


CheenuSing

 

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

I0ve already seen that post of yours, and tried it, but I was assigning a wrong variable to the AllExcept. Seeing it again gave me new light!! Thanks KUDOS!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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