Forum Discussion
Comparing values to target values
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Thank you for your suggestion. I now added a link to the sample file at the bottom of my initial post.
- lbendlin2 years agoSuper User
Here is the measure used as a visual filter
I also modified the data model a bit. Targets are not really a dimension table, at least how I understand your business premise.
- GKJARC2 years agoResolver I
Thanks lbendlin for looking into it. I understand that the measure Target achieved can be added in the side bar filters, but for users I'd prefer to add it in a slicer if possible. Although this is a nice-to-have.
The more important question is how to find the right target.
The target for %MaintenanceKey 840 is 4 instead of 5 (because start date year = 2023). What would be a measure to find the target where the target year equals the start date year?