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.
Hi all,
I'm new to powerBI and DAX... and need some help with taking the sum of data from different columns from different tables.
Below you can see a picture what I want (calculated the first 2 lines... sorry for my drawing skills).
So the data is grouped on Name and calculates the amount of products that are ordered during a period (filter). We also have the quantity of products available at our distribution centre (BME.Quantity) and a Safety Stock (SS.Quantity). Now i want to summerize the 3 columns. By example the first line (ACN Cream) should be 5568, second line 2266, ...). Below you can also find our DTB Structure (Salesforce combined with some self made tables and our distributres warehouse export). Please help me out 🙂
THANKS!!!
Dennis
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
If the last 3 columns are measures the, write this measure
=[Quantity]+[BME.Quantity]+[SS.Quantity]
@Ashish_MathurDon't work (he mentioning "can't find the columns"... this is because it's in 3 different tables I think?
@v-danhe-msftSorry, can't do... is connected with Salesforce and all our data.... if you need some specifiek information about table relations,... don't hesitate to ask! 🙂
I made a copy of the DTB with fictional data:
https://www.dropbox.com/s/vupkg4chx07v5hf/test.pbix?dl=0
Hi,
You may download my PBI file from here.
Hope this helps.
Hi @Ashish_Mathur,
The problem was in the fact I used columns instead of measures... it works now!!!
THANKS!!!!
You are welcome.
Hi @dennisdepoorter,
Could you please share some sample file or the pbix file to have a test if possible?
Regards,
Daniel He
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
83 | |
76 | |
66 |
User | Count |
---|---|
120 | |
108 | |
95 | |
83 | |
77 |