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.

Running Totals in the Balance sheet

Hi all,

 

I have a arequirement to write the DAX for the running totals in the Company BalanceSheet. where the 19-20 FY balance need to be added to 20-21 FY like this the subtotals also need to be added. I tried with the DAX

B3 = CALCULATE([B2],FILTER(ALL('MyGateDB'),'MyGateDB'[VoucherDate]<= MAX('MyGateDB'[VoucherDate]) && 'MyGateDB'[Ledger Name]=MAX('MyGateDB'[Ledger Name])))
But there was no entries to ledgers in 20-21FY so those are getting blanks .

Thaks in advance,

Vishnu Priya

 

 

 

Status: New
Comments
v-chuncz-msft
Community Support

@AnilKumar 

 

You may add condition below.

|| ISBLANK ( 'MyGateDB'[Ledger Name] )

 

AnilKumar
Helper II

Hi @v-chuncz-msft ,

 

I  tried the your susggestion. but still, no data coming. Please see the below snap for the reference.

 

Running Totals.png

 

As i'm using a measure, it is checking with it's scope like in 20-21 FY. As there was no data (records) for some ldgers, it is showing like blank. Is there any alternate to achieve this running totals and subtotals?

 

Thanks & Regards,

Vishnu Priya