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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.