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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Donte
Regular Visitor

Is it possible to use a visualization/slicer, that edits a DAX formula in the Data tab?

Hello,

 

I want to use a slicer in the Reports tab that would allow a user to change a varible that would subsequently change a column formula created in the Data tab.

 

For Example, the below image shows a date slider (let's call this date variable "SlicerDate"). This would be a visualization in the reports tab that any user can interact with. I want to create an IF statement in the Data tab that states, IF(X<SlicerDate, "Earlier", IF(X>SlicerDate, "Later")). Although the actual column formula in the Data tab would not change, the "SlicerDate" within the formula would change according to the date applied to the slicer. 

 

The reason for this is there are many people who will view this report themselves and would like to adust the returned variables based on a specific date, but not all people will know how to change data portion of the PBIX file or online file. I want users to be able to change the variable returned in the Data tab without leaving the Reports tab.

 

Any assistance or suggestion is greatly appreciated.

 

Thank you!

 

Screenshot 2023-05-09 095004.jpg

2 REPLIES 2
Donte
Regular Visitor

Sorry, I do not have a sample data set. But if you need more information. I am more than happy to provide.

eliasayyy
Memorable Member
Memorable Member

can you provide sample data please?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors