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,
i have a table with products, invoices, and row (where is located on warehouse)
It looks like this
Invoice ID | Product ID | Row in Warehouse |
20200223 | A1 | 00 |
20200223 | A2 | 00 |
20200224 | A1 | 00 |
20200225 | A1 | 00 |
20200225 | A3 | 01 |
20200225 | A4 | 00 |
From this table, i want to see only invoices that contains ONLY products in Row 00.
In output should be Invoice ID 20200223 and 20200224.
Invoice ID 20200225 should not be in final results.
I tried contains, filters, but no luck.
Thank You!
Solved! Go to Solution.
Try a measure like
measure =
countx(filter(summarize(Table, Table[Invoice ID], "_1",count(table[Row in Warehouse]), "_2", calculate(count(table[Row in Warehouse]), filter(Table, Table[Row in Warehouse] ="00")) ),[_1]=[_2]),[Invoice ID])
Thank You!
Try a measure like
measure =
countx(filter(summarize(Table, Table[Invoice ID], "_1",count(table[Row in Warehouse]), "_2", calculate(count(table[Row in Warehouse]), filter(Table, Table[Row in Warehouse] ="00")) ),[_1]=[_2]),[Invoice ID])
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |