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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
maserr
Helper IV
Helper IV

Filtering values in a a calculated table

Dear all,

 

I have several measures done in SSAS. I have put these measures in a calculated table in SSAS to be able to use them in the scroller object in Power BI. What I find when using this calculated table with the scroller is that the values shown on the scroller are absolute and if I apply any date filter with a slicer the scroller keeps showing the same data. Of course, I would like to see the same information I can see using a card but on the scroller, the fact is I want several measures on the scroller so I have created the calculated table. I would like to see the value for the last date.

 

When I use the LASNONBLANK on SSAS the table has no error but I cannot see values.

 

Thanks in advance,

1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, i create a sample to test:

Here is my test table in SSAS:

25.PNG

Then please try this measure in SSAS:

Last Date Value:=CALCULATE(SUM(Sales[Sales]),FILTER(Sales,Sales[Date]=MAXX(ALLSELECTED(Sales),Sales[Date])))

It shows the last date sales:

26.PNG

Hope this helps.

 

Best Regards,

Giotto Zhi

 

View solution in original post

3 REPLIES 3
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, i create a sample to test:

Here is my test table in SSAS:

25.PNG

Then please try this measure in SSAS:

Last Date Value:=CALCULATE(SUM(Sales[Sales]),FILTER(Sales,Sales[Date]=MAXX(ALLSELECTED(Sales),Sales[Date])))

It shows the last date sales:

26.PNG

Hope this helps.

 

Best Regards,

Giotto Zhi

 

Greg_Deckler
Community Champion
Community Champion

Sorry, scroller is not computing with me. Are you referring to a numeric slicer? Are you missing a relationship?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Dear Greg,

The scroller is a visual object. As I have tried to explain, I can obtain the value I wish using a simple card or any object but not when using the calculated table and the scroller.

Thanks

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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