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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Thulasiram
Helper II
Helper II

Blank values

Dear all,

I have a fact table with columns of products , customers and sales another table containing discount rates for each product.

Mostly one customer has only one product but in some cases more than 1 product.

I have a dim table containing customer names.

I want to bring in the product name against each customer through lookupvalue function.

Since some customers has more than 1 prouduct, the result show error.  I used IFERROR function

to show blanks in those cases where customer has more than 1 product.

I calculated discount amount by calculating sales from one table and discount rate from another table.

Since my dim table contains blank values for products against some customers, the rows contains

blank values but discount is properly calculated.

Is there any way I can bring in the product names?

Help is much appreciated.

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

@Thulasiram Not sure I fully understand but try using MAXX(FILTER( ) ) instead of LOOKUPVALUE



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

mickey64
Super User
Super User

Step 1: I add a relationship between a fact table and another table. (Key column: 'product')

 

Step 2: I add a column to a fact table.

discount rates = RELATED(another table[discount rates])

View solution in original post

5 REPLIES 5
mickey64
Super User
Super User

Step 1: I add a relationship between a fact table and another table. (Key column: 'product')

 

Step 2: I add a column to a fact table.

discount rates = RELATED(another table[discount rates])

Thank you

Greg_Deckler
Community Champion
Community Champion

@Thulasiram Not sure I fully understand but try using MAXX(FILTER( ) ) instead of LOOKUPVALUE



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank, will try.

Anonymous
Not applicable

Hi,@Thulasiram 

 Has the problem been solved? If it does, share your solution and accept it as a solution that will help other community members who have the same problem as you.

Best Regards,

Leroy Lu

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.