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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Bobbertsan
Regular Visitor

One Slicer, two filters

We have a user who wants me to create two visualizations. She wants the first visualization to filter data based on a slicer. For example, she wants to show all losses for 2021 by using a slicer bound to the loss year and selecting '2021'. However, she also wants a second visualization to show losses for the year *previous* to the value shown in the slicer in this case '2020'.  Also, my data source is an SSAS live connection, because I am having difficulty importing the data SSAS due to memory limitations.

 

Two questions: 

 

1. Am I correct in my understanding that there is no way to do this via a live connection? 

2. Is there a way to do it using imported SSAS data? If so, how? 

 

(OK, so that's actually three questions)

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

Hi, @Bobbertsan ;

Such as jdbuchanan71 said, which could create a measure when live connect. it called report-level DAX meaure

However You can't create report level measures when authoring a report that is connected live to an SSAS multidimensional model. The only measures that are available are measures defined in the MD model.

vyalanwumsft_0-1634020420329.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
v-yalanwu-msft
Community Support
Community Support

Hi, @Bobbertsan ;

Such as jdbuchanan71 said, which could create a measure when live connect. it called report-level DAX meaure

However You can't create report level measures when authoring a report that is connected live to an SSAS multidimensional model. The only measures that are available are measures defined in the MD model.

vyalanwumsft_0-1634020420329.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

jdbuchanan71
Super User
Super User

That is very strange.  My work model is 100% SSAS and I can create local measures with no problem.

 

2021-10-11_9-44-28.jpg

Bobbertsan
Regular Visitor

Thanks for the responses, but since I am using Analysis Services as a data-source, I can't create a measure. It's even grayed out in PBDesktop:

import.png

 

I was able to convince the user to accept something different, so I don't need this info any more. But thanks!

jdbuchanan71
Super User
Super User

You can absolutely do this with a live connection.  You just need to write a Prior Year measure.

 

PY Losses = CALCULATE ( [Loss Measure], SAMEPERIODLASTYEAR(DATES[Date]) )

Take a look at this article on time intelligence functions.

https://www.daxpatterns.com/standard-time-related-calculations/

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors