Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
How to create a Start Date and an End Date without using a slicer from a single column from a Fact table?
I have a column called DIM_DATE[CALENDAR_DATE] which is linked to a fact table.
What I would like to do is to create a date range, but NOT using the inbuilt Power BI Date range slicer at all, and allow the user to pick a date for Start date and do the same for the enddate and 2 seperate fields. Then the values from the single date pickers will be used to Filter out the results.
Thanks
Solved! Go to Solution.
Hi,
This is possible to achive. Then you need two date tables.
This two tables cant have any relationships to the fact, just be stand alone.
Then you need slicers, one for each data table so the end user can pick from - and to date.
At last you need to create a measure on the fact table with the correct aggregation (sum, count or What you need), with a filter Where start date is >= the first date end user pick and end date <= the other.
Br
Marius
Hi,
This is possible to achive. Then you need two date tables.
This two tables cant have any relationships to the fact, just be stand alone.
Then you need slicers, one for each data table so the end user can pick from - and to date.
At last you need to create a measure on the fact table with the correct aggregation (sum, count or What you need), with a filter Where start date is >= the first date end user pick and end date <= the other.
Br
Marius
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
5 | |
4 | |
4 |