cancel
Showing results for 
Search instead for 
Did you mean: 
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
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors