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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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