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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

@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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.