The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello
I have a Power BI Project, with Query1 Sales Data this has;
Product_Name,Region,Area,Product_Range,Year,Week,Sale_QTY,Sale_Value
I have a Query2 Stock Booked in Data this has;
Product_Name,Region,Area,Product_Range,Year,Week,Book_QTY
I need to bring the two querys together and pivot them and perfom a calulation of booked in stock minus the sold stock.
My pivot table needs to look like this.
P
What are the steps I need to do to be able to do this?
I have tried to merge the queries together, but I have booked in counts when I don't have sales so the counts do not match up to what I am expecting.
Regards
GrahamR99
Solved! Go to Solution.
Hi Abduvali
That is almost it, I can't get Region and Area to display on one pivot.
This is what I have;
How do I get it like your last image?
Regards
GrahamR99
Use Matrix table and expand:
Hi Abduvali
How do I do a Calulated Field so I need to book_qty - SQTY?
I guess I can not do it on the Append Table as they will have different lines.
Regards
GrahamR99
Are you talking about sales quantity???
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
82 | |
63 | |
53 | |
51 |
User | Count |
---|---|
127 | |
118 | |
81 | |
65 | |
64 |