March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I am having trouble passing a slicer date range to a variable.
I have two tables:
1. Before_Day_Key is used for my before slicer
2. After_Day_Key is used for my after slicer
I have created variables that create the min and mix date for each of the slicers.
Now I want to create a variable that has the date range of each slicer.
What I am expecting is:
VAR _periodBefore: 01/17/2023 - 03/20/2023
VAR _periodAfter: 03/28/2023 - 05/29/2023
Before_Day_Key table is here.
After_Day_Key table is here.
Can you help complete the statement:
Solved! Go to Solution.
I believe I was in error in creating two new date tables. Instead within my original date table, I created two date columns and referenced those columns in my DAX. Ultimately using VALUES as @tamerj1 suggested worked. However I was unable to place all my VAR in one table because the table can only react to one slicer. Ugh.
I believe I was in error in creating two new date tables. Instead within my original date table, I created two date columns and referenced those columns in my DAX. Ultimately using VALUES as @tamerj1 suggested worked. However I was unable to place all my VAR in one table because the table can only react to one slicer. Ugh.
Thanks but I cannot get that to work because the slicer is a date range, any other ideas?
Ultimate goal is to complete the following statement:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
12 | |
9 | |
7 |
User | Count |
---|---|
38 | |
32 | |
24 | |
12 | |
11 |