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.
Hi,
I have created a custom table using SUMMARIZECOLUMNS function:-
Tried with limited duration (1month) of data in Desktop and after publishing to PBI service increased the Data size using parameters & refreshed still getting same error.
Any kind of help will be appreciated.
Thanks & Regards,
Nidhi
@NidhiBhusari , can share Cummulative calculation
it should be like
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
or
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
@NidhiBhusari , Try like
Switch( True(),
ISINSCOPE('Rank Analysis'[BillToCustomer_Name]),CALCULATE (
[% of Total(GP)],
FILTER (all('Rank Analysis'),'Rank Analysis'[BillToCustomer_Name] <= MAX ('Rank Analysis'[BillToCustomer_Name]))),
ISINSCOPE('Rank Analysis'[CUSTOMER_PRACTICE_NAME]) , CALCULATE (
[% of Total(GP)],
FILTER (all('Rank Analysis'),'Rank Analysis'[CUSTOMER_PRACTICE_NAME] <= MAX ('Rank Analysis'[CUSTOMER_PRACTICE_NAME]))) ,
ISINSCOPE('Rank Analysis'[Entity]) ,CALCULATE (
[% of Total(GP)],
FILTER (all('Rank Analysis'),'Rank Analysis'[Entity] <= MAX ('Rank Analysis'[Entity]))) ,
CALCULATE (
[% of Total(GP)],
FILTER ( ALL ('Rank Analysis'), 'Rank Analysis'[F_LEVEL4_DESC] <= MAX ('Rank Analysis'[F_LEVEL4_DESC])))
)
Hello @amitchandak ,
Tried the measure you have shared still it is not working and giving the same error as above.
Is there any other way we can optimize the DAX?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |