Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Good day Everybody.
I have a table 'ArcSalesMove[CustomerPoNumber] directly from our Syspro SQL server that contains all the CustomerPoNumbers in the system. Another table 'InvMovements'[CustomerPoNumber] have all the only the CustomerPoNumbers that is now in the factory.
How do I creat a new table thet will list both the 'ArcSalesMove[CustomerPoNumber] and 'InvMovements'[CustomerPoNumber] next to one another so that I can find the create a list of CustomerPoNumbers that is not in the factory.
I thank you in advance for your assistance.
Matt
Solved! Go to Solution.
You can create a table of PO numbers not in the factory with
Not in factory =
VAR AllNumbers =
DISTINCT ( 'ArcSalesMove'[CustomerPoNumber] )
VAR InFactory =
DISTINCT ( 'InvMovements'[CustomerPoNumber] )
VAR Result =
EXCEPT ( AllNumbers, InFactory )
RETURN
Result
Hi @Matt_JEM ,
Create a new table by this DAX:
PoNumbersNotInFactory =
EXCEPT (
VALUES('ArcSalesMove'[CustomerPoNumber]),
VALUES('InvMovements'[CustomerPoNumber])
)
You can create a table of PO numbers not in the factory with
Not in factory =
VAR AllNumbers =
DISTINCT ( 'ArcSalesMove'[CustomerPoNumber] )
VAR InFactory =
DISTINCT ( 'InvMovements'[CustomerPoNumber] )
VAR Result =
EXCEPT ( AllNumbers, InFactory )
RETURN
Result
User | Count |
---|---|
84 | |
76 | |
64 | |
51 | |
46 |
User | Count |
---|---|
101 | |
42 | |
41 | |
39 | |
36 |