Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I know this is a PowerBI community, but I will eventually be using PowerBI for this (after I solve this problem with Power Pivot), and this is urgent.
I want to do a calculated field in "sheet 1" such that it returns the price of service for only Category 1 and Category 2 options, and leave everything else (Category 1A, Category 3, etc.) blank in a new price column (sheet 1).
How do I go about this? I spent many hours trying... Thanks.
Here's the file: https://www.dropbox.com/s/088kel5c2jlo1z0/June%2026%20Power%20Pivot%20Question.xlsx?dl=0
Here are screenshots (I made the data to protect confidential information).
Sheet 1:
Sheet 2:
Solved! Go to Solution.
I guess you have many to one relationship between Sheet1 and Sheet2. Please use
Price =
IF ( Sheet1[Category] = "Category 1" || Sheet1[Category] = "Category 2", RELATED ( Sheet2[Cost] ) )
I guess you have many to one relationship between Sheet1 and Sheet2. Please use
Price =
IF ( Sheet1[Category] = "Category 1" || Sheet1[Category] = "Category 2", RELATED ( Sheet2[Cost] ) )
WOW! Thank you so much for your help. I asked around, and nobody was able to get it but you. Thank you!!
Hi @BAFreedom
no worries it the same as power bi. Would you please share a screenshot as I'm currently accessing the forum through my mobile only.
@tamerj1 Thanks for the reply. I just posted screenshots in the original message. Please let me know if you need anything else.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 8 | |
| 7 | |
| 7 |