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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

I've created this measure and It's not working and not showing any error

I've created this measure and when I'm selecting values from both the ref table I am getting blank chart
Test =

CALCULATE(
IF(SELECTEDVALUE('Price grouping'[Price grouping])="weekly" && SELECTEDVALUE('Select Price PPC'[Select Price])="Average promo price",[Average Promo Price],
IF(SELECTEDVALUE('Price grouping'[Price grouping])="weekly" && SELECTEDVALUE('Select Price PPC'[Select Price])="Minimum price",[Minimum Total price Week],
IF(SELECTEDVALUE('Price grouping'[Price grouping])="weekly" && SELECTEDVALUE('Select Price PPC'[Select Price])="Average shelf price",[Average Non Promo Price],
IF(SELECTEDVALUE('Price grouping'[Price grouping])="weekly" && SELECTEDVALUE('Select Price PPC'[Select Price])="Average price",[Total price])))))


4 REPLIES 4
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

What are you trying to calculate? Could you share some sample data and your expected result? 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.

Anonymous
Not applicable

@Anonymous 

Tgis measure will return blank. What do hou want to achieve?

Anonymous
Not applicable

I want to show the measure value based on the ref table selection. 

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.