Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |