Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
I want to change this formular by a visual filter:
Solved! Go to Solution.
Hi @Anonymous ,
What you are trying to create is a calculated column? If what you created is a calculated column, it will not change according to the user interaction(slicer, filter, column selections etc.) in the report as the value of a calculated column is computed during data refresh and uses the current row as a context... Please review the following links about the difference of calculated column and measure...
Calculated Columns and Measures in DAX
Calculated Columns vs Measures
I created a sample pbix file(see the attachment), please check if that is what you want.
1. Create a slicer using [Date] field of 'Calendar' table
2. Create a measure as below to get the dynamic Difference Days by the filter/slicer...
Difference Days to Overdue =
IF (
SELECTEDVALUE ( 'Table'[Progress] ) = "Finished",
BLANK (),
DATEDIFF (
SELECTEDVALUE ('Table'[Due Date (DD/MM/YYYY)] ),
MIN ( 'Calendar'[Date] ),
DAY
)
)
Best Regards
Hi @Anonymous ,
What you are trying to create is a calculated column? If what you created is a calculated column, it will not change according to the user interaction(slicer, filter, column selections etc.) in the report as the value of a calculated column is computed during data refresh and uses the current row as a context... Please review the following links about the difference of calculated column and measure...
Calculated Columns and Measures in DAX
Calculated Columns vs Measures
I created a sample pbix file(see the attachment), please check if that is what you want.
1. Create a slicer using [Date] field of 'Calendar' table
2. Create a measure as below to get the dynamic Difference Days by the filter/slicer...
Difference Days to Overdue =
IF (
SELECTEDVALUE ( 'Table'[Progress] ) = "Finished",
BLANK (),
DATEDIFF (
SELECTEDVALUE ('Table'[Due Date (DD/MM/YYYY)] ),
MIN ( 'Calendar'[Date] ),
DAY
)
)
Best Regards
@Anonymous , Then you have create a measure
example
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |