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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Bobfather
Frequent Visitor

Slicer to change Date Columns

I'm working on a report to display productivity, as measured by orders. I have three date columns: Created, Planned, and Delivered. I want to create a single page with a chiclet slicer with values "Created", "Planned", "Delivered", that would update the entire page to show each type of stats. I've looked at some similar posts (primarily https://community.powerbi.com/t5/Desktop/table-with-dynamic-values-columns/td-p/110266), but the difference is I'm trying to change which date column to filter by, rather than which column to summarize currently filtered records. Is what I want to do currently even possible, or do I just need to create three separate pages?
1 ACCEPTED SOLUTION
Phil_Seamark
Employee
Employee

Hi @Bobfather

 

Have you considered pivoting your data so instead of having 1 row with three date columns, turn that 1 row into 3 rows

 

eg.

 

ID, Created, Planned, Delivered
--------------------------------
1 ,2017-1-1, 2017-1-5, 2017-1-9

ID, State , DateVal
--------------------
1 , Created , 2017-1-1
1 , Planned , 2017-1-5
1 , Delivered , 2017-1-9

.  This might make your task a little easier. 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Employee
Employee

Hi @Bobfather

 

Have you considered pivoting your data so instead of having 1 row with three date columns, turn that 1 row into 3 rows

 

eg.

 

ID, Created, Planned, Delivered
--------------------------------
1 ,2017-1-1, 2017-1-5, 2017-1-9

ID, State , DateVal
--------------------
1 , Created , 2017-1-1
1 , Planned , 2017-1-5
1 , Delivered , 2017-1-9

.  This might make your task a little easier. 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Duh.... I am a master at over-complicating any problem presented to me! hahaha... Thanks so much!!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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