there is another column which is named as status (which contains active and closed status). I want the status which are in the range of dates which i picked by slicer date picker.
Note : there are two separate column for start date and end date. and after selecting the dates in slicer then status should be filtered out.
Thank you in advance
Solved! Go to Solution.
Hi @KaranMane ,
This is my test table:
Please create a calendar table:
CalendarTable = ADDCOLUMNS(CALENDAR(MIN('Table'[Start date]),MAX('Table'[End date])),"Month",MONTH([Date]))
Relationship:
Create a slicer from calendar table:
I think you will get the result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
The ideal approach should be to create one row for each date between the start and end date. This however may lead to a lot of rows being created. We can reduce the table size by creating one row for each month between the start and end date. This will allow you to select only one/multiple months (not random dates). Are you OK with selecting months in a slicer rather than a specific date range?
Hi,
The ideal approach should be to create one row for each date between the start and end date. This however may lead to a lot of rows being created. We can reduce the table size by creating one row for each month between the start and end date. This will allow you to select only one/multiple months (not random dates). Are you OK with selecting months in a slicer rather than a specific date range?
Hi @KaranMane ,
This is my test table:
Please create a calendar table:
CalendarTable = ADDCOLUMNS(CALENDAR(MIN('Table'[Start date]),MAX('Table'[End date])),"Month",MONTH([Date]))
Relationship:
Create a slicer from calendar table:
I think you will get the result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
This session will provide guidance and teach campers the skills required to build Power BI reports that support multiple languages.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
209 | |
53 | |
45 | |
43 | |
41 |
User | Count |
---|---|
297 | |
207 | |
75 | |
75 | |
68 |