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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Value of indicator based on date slicer

Hi everyone,

 

I need some help to resolve my issue.

My data :

cvddfztrerd_0-1625126717477.png

 

I'd like to repeat the sales value of the first date on all lanes like that :

 

cvddfztrerd_1-1625126756951.png

 

I need this value to be filtered by a date slicer. If i filter my date, i want the value to be like that :

 

cvddfztrerd_2-1625126809634.png

 

I tried many things, but i can't resolve it.

Can anyone help me please ?

 

Regards,

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for your reply.

It didn't work because 1 line in my table was many lines of details.

 

But i found a solution :

 

Measure =

var selected_min_date = CALCULATE(MIN(Table[Date]),ALLSELECTED(Table[Date]))

RETURN
CALCULATE(
sum(Table2[Sales]),
FILTER(
ALL(Table),
Table[Date] = selected_min_date
)
)

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Just duplicate your date column give him name ex. date1, put this date1 as filter.
Now create below measure:

Measure = CALCULATE(FIRSTNONBLANK('Table'[Sales],1),ALL('Table'[Date]))

It will work fine.
mohityash_0-1625129823321.png

Optional: You can rename date1 to date, in formatting pane if required.

Anonymous
Not applicable

Thanks for your reply.

It didn't work because 1 line in my table was many lines of details.

 

But i found a solution :

 

Measure =

var selected_min_date = CALCULATE(MIN(Table[Date]),ALLSELECTED(Table[Date]))

RETURN
CALCULATE(
sum(Table2[Sales]),
FILTER(
ALL(Table),
Table[Date] = selected_min_date
)
)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.