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 All,
I need to show Cumulative liability according to user selection in Monthly,Quartely and Yearly in a single Card .I Can do it in seperatly as follows.
Formula used:-
Monthly Total Liability= VAR CurrentYr =SELECTEDVALUE(GL_LEDGER_ACCESS[FINANCIAL_YEAR])
VAR CurrentFiscalMonth = SELECTEDVALUE(GL_LEDGER_ACCESS[index 2])
RETURN
CALCULATE([Liability This Month],FILTER(ALL(GL_LEDGER_ACCESS),
GL_LEDGER_ACCESS[FINANCIAL_YEAR]=CurrentYr && GL_LEDGER_ACCESS[index 2] <= CurrentFiscalMonth))
Quartely TotalLI =
VAR CurrentYr =SELECTEDVALUE(GL_LEDGER_ACCESS[FINANCIAL_YEAR])
VAR CurQtr =SELECTEDVALUE(GL_LEDGER_ACCESS[Qtr No])
RETURN
CALCULATE([Liability This Month],FILTER(ALL(GL_LEDGER_ACCESS),GL_LEDGER_ACCESS[FINANCIAL_YEAR]=CurrentYr&& GL_LEDGER_ACCESS[Qtr No]<=CurQtr))
Data table
Please give me solution to show cumulatively Total according to filter selection in a single card.
Thanks in advance,
Best Regards,
Dora
Solved! Go to Solution.
Hi @Dora,
You need to create an extra table ('SlicerTable') with a single column( [Item] ) which lists all available selections: Monthly,Quartely and Yearly. Later, you should add this column into slicer.
Then, add below measure into card visual:
Cumulative liability = IF ( SELECTEDVALUE ( SlicerTable[Item] ) = "Monthly", [Monthly Total Liability], IF ( SELECTEDVALUE ( SlicerTable[Item] ) = "Quartely", [Quartely TotalLI], [Yearly TotalLI] ) )
Best regards,
Yuliana Gu
Hi @Dora,
You need to create an extra table ('SlicerTable') with a single column( [Item] ) which lists all available selections: Monthly,Quartely and Yearly. Later, you should add this column into slicer.
Then, add below measure into card visual:
Cumulative liability = IF ( SELECTEDVALUE ( SlicerTable[Item] ) = "Monthly", [Monthly Total Liability], IF ( SELECTEDVALUE ( SlicerTable[Item] ) = "Quartely", [Quartely TotalLI], [Yearly TotalLI] ) )
Best regards,
Yuliana Gu
Thank You So much,
Best Regards,
Dora.
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 | |
97 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |