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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

DAX cell lookup

I have been tryign to fill in % value in  Baked Goods Gross Margin(31290) by Dividing NetGP & Sales of Budget or Actual. Just like Excel Vlookup method. any  idea.  Please see screen shot below. 

Iklizo_0-1651174871423.png

 



1 REPLY 1
Whitewater100
Solution Sage
Solution Sage

Hi:

Can you share example of your table(s) you are working with(dummy data is  fine).

 

One thing you most likely want to do is to get the gross margin amount separated from the line of text it is in.

 

Also are those measures of just descriptions below.

 

Normally your solution would be based on measures with numerical results.

E.G. GM% = DIVIDE([Baked Goods GM$], [Baked Goods Sales Amt])  Based on your data set up the GM measure could be GM% = DIVIDE([Margin$], [Total Sales])   DIVIDE([Margin$], [Total Budget])  

With a bit more info we can solve this. Thanks

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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