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
Aaron1
Frequent Visitor

IF Formula based on Text value

HI,

 

I am new to Power BI and cant figure out how to get my IF statement to work.

 

I have 2 tables:

1. Basket Location Brand Data

2. RIR Data

 

Within the Basket table i have a column called [Channel] which has 4 attributes - Large, Small, Online & X. The Basket table contains all my sales information and is attributed by channel

 

I would like to write a measure that uses 1 of 4 different measures from the RIR table based on the channel attribute that is selected in the page level filter - the measures in the RIR table are Out Performance (Large), Out Performance (Small), Out Performance (Online) & Out Performance (Total)

 

the outcome i am trying to achieve is to show a marketoutperformance figure that matches the channel and sales data that is selected from the page filter without building 4 seperate pages.

 

Thanks and apologies if this is a very basic question

Aaron

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@Aaron1,

Do you have any relationship between the above two tables? Could you please share dummy data of the two tables and post expected result based on dummy data here?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then 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.

Top Solution Authors