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.
***Need help with how to pass Date based on Slicer calculated on a date table at the report level to calculate the new table at the model level .***
I am trying to use DAX:
To derive a table from an existing table (DimMembers) with all columns.
Where the date selected in a slicer is falling between DimMembers.StDate and DimMembers,EndDate.
MemberID | Name | Area | StDate | EndDate |
2 | Ram | AZ | 05-01-2019 | 15-01-2019 |
2 | Ram | CA | 16-01-2019 | 27-01-2019 |
2 | Ram | LA | 28-01-2019 | 31-12-2099 |
3 | Shyam | CA | 02-01-2019 | 16-01-2019 |
3 | Shyam | AZ | 17-01-2019 | 25-01-2019 |
3 | Shyam | LA | 26-01-2019 | 31-12-2099 |
Tab 2: sampleDate
asofdate |
25-12-2018 |
31-01-2019 |
For Example if the slicer date is 31-01-2019 then, resultant derived table should have:
Name | Area | StDate | EndDate |
Ram | LA | 28-01-2019 | 31-12-2099 |
Shyam | LA | 26-01-2019 | 31-12-2099 |
--------
Option Tried:
Hi @ramanar
calculated tables (and columns) can not be updated by slicers, they are populated at query time(when data is loaded into the model).
There is the option of parameters, but that might be of limited use in your case:
https://www.youtube.com/watch?v=iiNDq2VrZPY
https://www.youtube.com/watch?v=twBUmqVOGgg
Cheers,
Sturla
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |