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
Hello,
I have a table with columns Date and Failure Mode. I wrote a measure to calculate the passing rate in the last 30 days.
Hi @bao_nguyen ,
Thanks for the reply from Wilson_ .
When you add a slicer for a relative date, it changes the filter context of the entire report page or visual, which is why you see the expected results when applying a slicer.
For more information on how filter context works see:
If you want to implement your needs through DAX syntax, please provide me with the pbix file. Remember not to log in to your account on Power BI Desktop when uploading the pbix file.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi Yang,
Thanks for the info. I am slowly reading through the link you provided.
For now, I was able to get it to work by adding a date filter to the visual (card) but definitely not ideal.
I can't share my pbix file due to company policy but I can share a snippet of the data if that works?
Thanks!
Hi bao_nguyen,
Can you please share screenshots of your visual and/or model too?
Proud to be a Super User! | |
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 |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |