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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.