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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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