Report on Header data where Detail Data does not contain an item
-
Report on Header data where Detail Data does not contain an item
Posted by tdestefano@phigenics.com on August 25, 2020 at 10:58 am-
Good morning! I’ve got a unique report request that I’m struggling with and hoping someone out there has a suggestion. We are trying to look at all orders that do not have a line item for shipping (one of three item numbers). Some background information. We have in essence, three types of item numbers, tests, services and equipment. If we are performing a test, there should be a shipping and collection charge along with the test item number.Ā
Our system has 2 tables that I’ll need to look at:
Order
Customer Name
Sales Rep
PO Expiration Date
Etc.Lines
Item Numbers
Qty
Unit Price
Etc.Basically, I want a list of Orders that include Item Numbers beginning with “A” or “B” but do not have Item number “C-123”, “C-124” or “D-125”.
I was able to get the results by exporting from current PBI reports then manipulating with pivot tables and vlookups in Excel, but I’m looking to create a real time report.Ā
Any suggestions would be appreciated!
Thanks in advance!
-Tammy——————————
Tamara DeStefano
Phigenics, LLC
—————————— -
Lutz Bendlin
MemberAugust 27, 2020 at 11:07 PM
Have a look at the EXCEPT function in DAX.Ā It allows you to find the Venn cuts you need.Create one table variable that lists all Order numbers. Create another one with all Order numbers that do have C or D items.Ā Then do an EXCEPT between them, which will give you all order numbers that do not have C or D items.
——————————
Lutz
——————————
——————————————- -
Thank you! I’ll take a look at that option.
Tamara DeStefano
Manager of Financial Operations
Mobile: 630.841.2673
Office: 844.850.4087
Website: http://www.phigenics.com
INTERNET CONFIDENTIALITY NOTICE
This communication and any accompanying documents are confidential information intended only for the use of the person to whom it is addressed. If the reader of this message is not the named recipient or an employee or agent responsible for delivering this message to the named recipient, please notify us immediately that you have received this message in error, then delete this message and any accompanying documents without copying or reading them. You are hereby notified that any review, disclosure, dissemination, copying distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. This email is covered by the Electronic Communications Privacy Act, 18 U.S.C. §§ 2510-2521 and is legally privileged.——————————————-
tdestefano@phigenics.com replied 6 years, 2 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.
The discussion ‘Report on Header data where Detail Data does not contain an item’ is closed to new replies.