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
nasolme
Helper I
Helper I

Grand total with axe X and legend

Hi Community,

How can I adapt my formula so that my grand total is correct according to the type of customer and type of funding

nasolme_0-1659017307846.png

I create a table with the type of funding who is related with my data source

nasolme_1-1659017406285.png

 

LTV = DIVIDE(


SWITCH
(true(), MAX(TYP_FI_TOTAL[TYPE_FINANCEMENT])= "TOTAL"CALCULATE('CALCUL'[TOTAL_EXPO_NETTE],ALL(DATA),'CALENDAR'[Date]),'CALCUL'[TOTAL_EXPO_NETTE]),


SWITCH
(true(),
MAX(TYP_FI_TOTAL[TYPE_FINANCEMENT]) = "TOTAL",CALCULATE('CALCUL'[VALO], all(DATA),'CALENDAR'[Date]),'CALCUL'[VALO]))
1 ACCEPTED SOLUTION
2 REPLIES 2
nasolme
Helper I
Helper I

Ok. Your answer improve my report *10000. 

Thank u @amitchandak 

amitchandak
Super User
Super User

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.