Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Chrisenthran
Regular Visitor

Return column value based on measure value power bi

Hello,

 

New to PBI and need help with the following problem; I hope my explanation is sufficient, please let me know if it isn't.

I have the following dimension table PctvsLevel with PctvsLevel[Percent] and PctvsLevel[Level] (The level allocated to each percentage level changes every so often so need not to hard code it in any solution)

0%Level -3
1%Level -4
2%Level -5
3%Level -6
4%Level -7
5%Level -8
6%Level +2
7%Level + 3

 

and a measure "Measure.Current %" that calculates the value based summed values on specific dates. 

 

I need a measure to return the [Level] where the PctvsLevel[Percent] = Measure.Current % in any given filter context. 

 

Thanks in advance

1 REPLY 1
v-xiaotang
Community Support
Community Support

Hi @Chrisenthran 

Thanks for reaching out to us.

>> I need a measure to return the [Level] where the PctvsLevel[Percent] = Measure.Current % in any given filter context

Could you share some sample data and the measure code? and please give an example of the 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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.