cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lukaszEltwin1
Helper V
Helper V

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

@lukaszEltwin1 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
lukaszEltwin1
Helper V
Helper V

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

@lukaszEltwin1 

Do you want to do a zoom and look together?

lukaszEltwin1
Helper V
Helper V

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?

lukaszEltwin1
Helper V
Helper V

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

@lukaszEltwin1 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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors