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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

3 Date columns, to 1 slicer?

Hello I is there any way to create 1 slicer( through dax maybe?) that is responsible for changing dates from 3 tables? I have measure which operates on changed dates across thoose tables. 

 

My only solution is creating bookmarks with written time periods through filters, but i want it to be open slicer. 

 

Zrzut ekranu 2022-08-03 105506.png

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@Anonymous of course, create a new date dimenstion table is what you need to do always and now you actually have to 🙂
Please refer to this tutorial on how to create a date table:
https://www.daxpatterns.com/time-patterns/
https://www.sqlbi.com/tools/dax-date-template/






2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

There is no relation in dates. Only by "pn" product number, its essential for the measure.

 

Thats the question how can i filter the measure result by one date slicers

@Anonymous 

Do you want to do a zoom and look together?

Anonymous
Not applicable

I dont have really a choice. Its a database base with multiple entries to product ID, updated with new lines every day. It will always have many entries

 

The main goal is to replace thoose slicers with 1. Every slicer is responsible for their own table

So why did you create a relationship between the dates?

Anonymous
Not applicable

All the tutorials i have read are showing me comparision time intelligence. I cant see how it could help me with filtering of 3 value parts of my measure, by changing dates in slicer

 

2.png

1.png

it was the first step, hoped it will bring you close enough. 
You shouldn't create a model like in your photo with bi directional many to many relationship. You need date dimension / dimensions maybe in your case but I think you need to be more clear on your question. 
Maybe share a sample file and what is the result you want to achieve. 

SpartaBI
Community Champion
Community Champion

@Anonymous of course, create a new date dimenstion table is what you need to do always and now you actually have to 🙂
Please refer to this tutorial on how to create a date table:
https://www.daxpatterns.com/time-patterns/
https://www.sqlbi.com/tools/dax-date-template/






2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.