Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

1st row value should be blank, 1st value should be at 2nd row place etc..

1st row value should be blank,

1st row value should be at 2nd row value place

2nd row value should be at 3rd row value place 

3rd row value should be at 4th row value place.

 

i have tried with earlier function 

 

like calculate(cal running total in FISCAL_QTR measure,

filter( tablename, fiscal_qtr = fiscal_qtr) but not coming output...earlier(fiscal_qtr) function can not be used for output of measure cal column. could you please help on this requirement.

thimmaraju_0-1629882598750.png

 

3 REPLIES 3
Anonymous
Not applicable

OK. What's the reason for using ALLSELECTED in your code? Do you want a running total that would be dependent on what you show in your visual instead of on the full data set up to the current point in time?

Anonymous
Not applicable

How to do it? By the manipulation of the filter context. However, it would be certainly helpful if you showed your data's structure and formula(s) for a start.

Anonymous
Not applicable

i have tried with below dax 

test2 meas =

 

CALCULATE([Cal running total in FISCAL_QTR],

 

FILTER('FISCAL CALENDAR', 'FISCAL CALENDAR'[FISCAL_QTR]= 'FISCAL CALENDAR'[FISCAL_QTR]

 

))

 



// CALCULATE( [Cal running total in FISCAL_QTR],

 

// FILTER('FISCAL CALENDAR', 'FISCAL CALENDAR'[FISCAL_QTR] = FIRSTNONBLANKVALUE('FISCAL CALENDAR'[FISCAL_QTR],'FISCAL CALENDAR'[FISCAL_QTR])

 

// )

 

// )

 



// MAXX(

 

// FILTER('FISCAL CALENDAR', 'FISCAL CALENDAR'[FISCAL_QTR] = 'FISCAL CALENDAR'[FISCAL_QTR]

 

// &&

 

// 'FISCAL CALENDAR'[FISCAL_QTR]<'FISCAL CALENDAR'[FISCAL_QTR]

 

// ),[Cal running total in FISCAL_QTR])

 

 

data:

thimmaraju_0-1629895674468.png

 

i have got below dax and trying samething but not working out

thimmaraju_1-1629895699534.png

 

 

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.