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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
cocomy
Resolver I
Resolver I

Vizualization : Card

Hi All,

 

I would like to show calculated result of the last day I selected by slicer on the card.

 

Sales

Date           Sales

1 Apr 2018 20

2 Apr 2018 30

3 Apr 2018 10

.

.

15 Apr 2018 40

 

 

Slicer

1 Apr 2018 - 15 Apr 2018

 

Card

40

 

Currently card shows total of sales but I would like to show 40.

 

How can I do that? Appreciate your help.

 

All the best,

cocomy

2 ACCEPTED SOLUTIONS
Zubair_Muhammad
Community Champion
Community Champion

Hi @cocomy

 

Try this mEASURE

 

Measure = 
CALCULATE ( SUM ( Sales[Sales] ), LASTDATE ( Sales[Date] ) )

View solution in original post

Hi Zubair,

 

Thank you very much. It is what I was looking for.

 

All the best

cocomy

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

Hi @cocomy

 

Try this mEASURE

 

Measure = 
CALCULATE ( SUM ( Sales[Sales] ), LASTDATE ( Sales[Date] ) )

Hi Zubair,

 

Thank you very much. It is what I was looking for.

 

All the best

cocomy

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.