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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Ben_Cates
Frequent Visitor

Creating visualisation that toggles between two different date fields

Hi everyone,

 

I think this is probably a fairly simple problem, but I cannot solve it despite my best efforts.  I'm trying to design a stacked column chart using a field parameter to allow users to toggle between two different dates.  The data all comes from a single table that I've simplified here for illustrative purposes.

Ben_Cates_0-1704420628836.png

I can get the field parameter slicer working well with the column chart, but my problem is that I can't change the perspective on the date - it's stuck showing single days, when I want it to show months.  As soon as I insert the field parameter into the visualisation x-axis, I seemingly lose the ability to do any drill-downs etc or filters.  Any thoughts on how I can get this chart working?

 

Ben_Cates_1-1704420725398.png

 

1 ACCEPTED SOLUTION
qqqqqwwwweeerrr
Solution Sage
Solution Sage

Hi @Ben_Cates 

 

I had a similar issue when I was working on a similar kind of data and this might help to solve the problem but for that you to modify the data 
this is sample data i have taken, you might be having multiple columns but i have taken 3

qqqqqwwwweeerrr_0-1704551320764.png

then you need to unpivot data in power query and your data should look like that 

qqqqqwwwweeerrr_1-1704551386330.png

once its done after that visual is easy and drill down option will be there 

qqqqqwwwweeerrr_2-1704551451409.png

 

you might require to change data orientation and rework migh take place as per your requirement.

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: https://www.youtube.com/@letssolveproblem


Regards

View solution in original post

2 REPLIES 2
Ben_Cates
Frequent Visitor

That fixed my problem!  Thank you 

qqqqqwwwweeerrr
Solution Sage
Solution Sage

Hi @Ben_Cates 

 

I had a similar issue when I was working on a similar kind of data and this might help to solve the problem but for that you to modify the data 
this is sample data i have taken, you might be having multiple columns but i have taken 3

qqqqqwwwweeerrr_0-1704551320764.png

then you need to unpivot data in power query and your data should look like that 

qqqqqwwwweeerrr_1-1704551386330.png

once its done after that visual is easy and drill down option will be there 

qqqqqwwwweeerrr_2-1704551451409.png

 

you might require to change data orientation and rework migh take place as per your requirement.

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: https://www.youtube.com/@letssolveproblem


Regards

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors