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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
TSarki
New Member

Changing Slicer values names with Dynamic M Parameters and Direct Query!

Hi All,  

 

I’m currently using a Slicer which is bond to a parameter. When the parameter is changed it recalls a query with the newly bond parameter as a variable within my MS SQL statement. 

 

The problem however is that I want to change the value of the names in the slicer to values which are understood by our costumer. Rather than the value which is understood by our MS SQL database. 

How can I do this?   

 

The Slicer: 

 

TSarki_0-1694434373679.png

The Table: The ‘’A’’ column has values understood by our database and ‘B” column has values understood by our costumer. So, I want the second column (‘’B’’) value to be shown in the slicer. But the parameter value to be used in the query.

 

TSarki_1-1694434409551.png

 

The Query:  

 

TSarki_2-1694434424807.png

 

There are no table relationships that are noteworthy. So far I’ve tried, perhaps with poor implementation; 

  • Cascading Parameters
  • Table Mapping
  • Changing the parameter in the SQL statement itself (this does not seem possible)  

 

I would appreciate any help solving this.  

 

Thanks a bunch, 

 

Tim

1 REPLY 1
_AAndrade
Super User
Super User

Hi @TSarki,

Did you try to use composite model where you can use import mode for this dimension table and direct query for the fact table?
I think it could solve your problem.
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models

https://www.youtube.com/watch?v=-jvnjx-264c


 





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




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.