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
Hi Buddy,
I am trying to figure out the DAX query to override a the dashboard filter and assign it to another column
This is my dataset
id | openDate | closeDate | Status |
1 | 2/1/2024 | Open | |
2 | 2/2/2024 | Open | |
3 | 2/3/2024 | Open | |
4 | 2/1/2024 | Open | |
5 | 2/2/2024 | Open | |
6 | 2/1/2024 | 2/2/2024 | Close |
7 | 2/2/2024 | 2/3/2024 | Close |
My dashbord have a filter, it is based on the openDate, user can multiple select the date they want
What I need to do is to form a chart like this
My solution
1. create an additional field reportDate which based on both openDate / closeDate
2. overide the original DashboardFilter
3. assign the filter to the field reportDate
(I can't make it to work )
This chart work fine if no filter was applied.
If select 2/2, the expected behavious is showing 2 for open and 1 for close
but now look like my DAX query get some problem
pbix file link
https://drive.google.com/file/d/16XS7Gmjy-Wx167-Iq1BUCGsXRjVD55xy/view?usp=sharing
Solved! Go to Solution.
Consider utilizing USERELATIONSHIP between your calendar table and the two dates in your fact table.
Consider utilizing USERELATIONSHIP between your calendar table and the two dates in your fact table.
Relationship active / non-active may work, it is a model change I am trying to avoid.
I am thinking if it is possible to do it from DAX side.
TREATAS is another option
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 | |
29 | |
12 | |
11 |