Forum Discussion
How to get Target Vs Ach, when multiple table joins required ?
Hello All,
Am unable to get Target Vs ach, My data is available in 3 tables. One is Sales data, Second is team mapping and third one is target table, problem here is Sales data linked to Team mapping file via customer and target is available by Sales Manager2 and by Brand in Target table. I need my output in below format.. I tried something but unable to solve the query... below is some code and also PBIX file is attached... Experts pls suggest with the best solution :
file link : https://drive.google.com/file/d/1Ca--t2D9abXK6NZkal07zCfjIB1XP6kt/view?usp=sharing
Code Tried :
Rather than combining the sales and targets into a new table, you want look up tables for Managers, Brands and Dates. Then you use the higher level tables to slice up your detail.
I have update your file with the additional tables and attached it.
You should also take a look at the SQLBI Intro to DAX video course for some more info. https://www.sqlbi.com/p/introducing-dax-video-course/. It's free
2 Replies
- jdbuchanan71
Super User
Rather than combining the sales and targets into a new table, you want look up tables for Managers, Brands and Dates. Then you use the higher level tables to slice up your detail.
I have update your file with the additional tables and attached it.
You should also take a look at the SQLBI Intro to DAX video course for some more info. https://www.sqlbi.com/p/introducing-dax-video-course/. It's free
- DeepDive
Helper IV
Thanks a lot jdbuchanan71 for your solution and valuable guidance.