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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
brinky
Helper IV
Helper IV

Sales less free multiple with cost

Good morning,

 

Could someone assist me to get this measure.
I have 3 tables Pricelist, Stocksuppliers & CustomerTransactions


I would like to get the following:
CustomerTransactions[Qty]-CustomerTransactions[FreeQTY] then multiply with Pricelist[Retailer]

Capture.JPG

 

5 REPLIES 5
Greg_Deckler
Super User
Super User

Sample data posted as text would be tremendously valuable. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490.

 

Not really enough information to go on as we do not know what columns the tables are joined on. But, you might check out LOOKUPVALUE.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

 

Thanks for your comment unfortunatly cannot share data.

 

As for columns and joins I have posted a screenshot of the tables and also stated how they are joined. All joins are with StcokCode.

 

Regards,

Stephen

OK, but can you make up sample data that emulates the issue? You generally only need a few rows of fake data. I will take a look at the relationships and see what I can figure out but it is infinitely harder.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

How can we know the price of the item from the price list? It seems to be joined with the supplier

@amitchandak  Thanks for your reply.

 

Price of the item is in the Retailer column Pricelist[Retailer]

 

Joins are all with StcokCode

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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