The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have one measure that filters the data correctly by date:
Solved! Go to Solution.
Hi @Anonymous ,
Since your result column is a calculated column, calculated columns can't dynamically change values, so he won't change based on slicer changes. You can create a measure instead.
Result =
var _a=LOOKUPVALUE('Treatment Plant'[IPN],Report2[id],MAX('Treatment Plant'[id]))
return IF(MAX('Report2'[IPN])=_a,[Plant_Daily_AVG],0)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Since your result column is a calculated column, calculated columns can't dynamically change values, so he won't change based on slicer changes. You can create a measure instead.
Result =
var _a=LOOKUPVALUE('Treatment Plant'[IPN],Report2[id],MAX('Treatment Plant'[id]))
return IF(MAX('Report2'[IPN])=_a,[Plant_Daily_AVG],0)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.