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.
I have a table that looks like this:
MyTable | ||
MyColumn1 | MyColumn2 | MyColumn3 |
10-Aug | Value 1 | X |
10-Aug | Value 2 | |
10-Aug | Value 1 | X |
11-Aug | Value 1 | |
11-Aug | Value 2 | X |
12-Aug | Value 1 | X |
I have a slicer on MyColumn2 (contains two values - Value 1 and Value 2)
I have a calculated column that looks like:
MyColumn 4 = COUNTROWS(
FILTER('MyTable' ,
'MyTable'[MyColumn3] = "X" && 'MyTable'[MyColumn1] <= earlier('MyTable'[MyColumn1])
)
)
I need the slicer filter (on MyColumn2) to apply before the DAX Filter (MyColumn3) applies. Otherwise the results are very different. How can I make it happen?
Solved! Go to Solution.
Using columns, it's not possible, since PowerBI evaluates columns once at refresh, not live. Consider using measures instead. In this case, I think you could just replace the "earlier" with "MAX", wrap the first instance of 'MyTable' with an ALL(), and use exactly the same formula as a measure.
Using columns, it's not possible, since PowerBI evaluates columns once at refresh, not live. Consider using measures instead. In this case, I think you could just replace the "earlier" with "MAX", wrap the first instance of 'MyTable' with an ALL(), and use exactly the same formula as a measure.
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 |
---|---|
67 | |
65 | |
57 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |