Forum Discussion
DAX measure cannot be added to visuals
I have a measure that takes Slicer value( format: whole number) and subtract years from date. But the measure cannot be added to visuals. I can add it only on TOOLTIP. PFB calculation for measure:
3 Replies
- Greg_Deckler
Community Champion
Anonymous Where are you trying to add it? To an x-axis, y-axis or legend? If so, In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563
- AnonymousNot applicable
Trying to add to X axis, However, I am sorry but not able to understand Disconnected Table trick . My Slicer(Selection) is already a disconnected table.
- v-xiaotang
Community Support
Hi Anonymous
Thanks for reaching out to us.
could you give some sample data and expected output? thanks.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.