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 everyone!
Faced as a begginer with next problem, really hope for your help!
Need to get value of Profit Margin of parent group for any distinct Product as a measure, by clicking on a product name in a table on a Desktop sheet.
Here is the situation.
Will try to explain to be clear. I need to get Group Profit Margin for last 90 days (already calculated and made a support table) for any Product as a measure by clicking on product name, to use it in further calculations. The reason is: we already got a Cost Price for product and I want to make a next measure "Product Cost Price / (1 - it's Group Margin)" to get a Recommended Sale Price.
Thank you!
Solved! Go to Solution.
Hi @D3K,
You can try this DAX formula as a measure:
Group Margin =
VAR GroupMargin =
SELECTEDVALUE ( ClassiferTable[Group ID], BLANK () )
RETURN
CALCULATE ( [Group Margin Measure], 'Group Margin'[Group ID] = GroupMargin )Replace the text strings above in red with the actual group margin measure.
Considerations;
Hi @D3K,
You can try this DAX formula as a measure:
Group Margin =
VAR GroupMargin =
SELECTEDVALUE ( ClassiferTable[Group ID], BLANK () )
RETURN
CALCULATE ( [Group Margin Measure], 'Group Margin'[Group ID] = GroupMargin )Replace the text strings above in red with the actual group margin measure.
Considerations;
If that is so, please accep my post as solution to change the status to thread to resolved.
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.