Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Everyone !
im facing an issue where i want to create a column using a measure but an error arise ,
the issue
the formula for completion Feb
Completion Feb =
IF(
VALUES('Master'[Start Date].[Date]) <= MAX('Master'[Feb-24]) &&
VALUES('Master'[End Date].[Date]) >= MAX('Master'[Feb-24]),
1,
0
)formula for Jan-24-Rev0
Jan-24-Rev0 = [Completion]formula for completion
Completion =
IF(
MAX('Master'[Start Date].[Date]) <= MAX('Master'[Jan-24]) &&
MAX('Master'[End Date].[Date]) >= MAX('Master'[Jan-24]),
1,
0
)
thank you for helping !
Hi @butterscotch ,
Has your problem been resolved? If it has been resolved, you can accept the answer as solution that helps you. if the problem is still unresolved, please provide more details with your desired out put and pbix file without privacy information.
How to Get Your Question Answered Quickly - Microsoft Fabric Community
Best Regards,
Ada Wang
There is a workaround that I used in one of my projects by creating a reference Table based on the OG table
Calculated columns are calculated on refresh before any visuals, slicers etc are active. That includes measures as well since they rely on context and there is no context at that point.
Not a best practice.
im sorry, but i dont quite understand
There is an order of evaluation. If a calculated column uses a measure that relies on context (filters, slicers), it might work when writing it because the slicer would have a selection (creating context). On the other hand, when a refresh is being done, there are no slicers or filters active because they aren't evaluated until after the refresh is complete.
I hope that makes sense.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |