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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
chetan8080
Frequent Visitor

Change fields in slicers using DAX

Hello Power BI Family!
I have a dataset which has a column named "value" which is used in all the dax calculations in the dashboard,
But!! I need a Dax that will make use of another column called "Carset value" in all daxes  based upon a slicer selection in dashboard.

Thank you in Advance
From,
Crescenza Consulting Pvt Ltd.

1 ACCEPTED SOLUTION

Hi, @chetan8080 

 

There is a situation that fits your needs better.

Data Format:

vzhangti_0-1653376079591.png

At this point it is possible to select the value you want to calculate through the slicer.

vzhangti_3-1653376204370.png

vzhangti_2-1653376170547.png

 

Best Regards,

Community Support Team _Charlotte

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

6 REPLIES 6
v-zhangti
Community Support
Community Support

Hi, @chetan8080 

 

Can you provide some sample data? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?  Note that slicers need to be fed by columns, they cannot be fed by measures.

chetan8080_0-1653365310017.png

These are two columns which i have used in all Dax measures 
Ex: 

chetan8080_1-1653365407711.png

We have alot of other DAX which has this "Value" column used.
I am searching for a new Dax used as a slicer that will on filtering use column "Carset value" in all the Daxes and do the calculations . Is it possible ?
Thank you @lbendlin  for your response!

As I said above - this is not possible. You cannot feed slicers from measures.

Hi, @chetan8080 

 

There is a situation that fits your needs better.

Data Format:

vzhangti_0-1653376079591.png

At this point it is possible to select the value you want to calculate through the slicer.

vzhangti_3-1653376204370.png

vzhangti_2-1653376170547.png

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

It is Working!!
Thank you so much @v-zhangti 😊  You Made my DAY!

Thanks, 
Chetan J
Crescenza Consulting Pvt Ltd.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors