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.
I have two tables as example files.
The first table is an invoicefile (One Invoice ID has multiple Article ID's)
The second table is a brandlist (More Article ID's can have multiple Article ID's)
The goal is to create an extra column that gives "Included" for all the lines of the Invoice if the Invoice has a brand "F".
Otherwise "Not included" if there is no Brand "F".
Sombody that can help me with this?
Solved! Go to Solution.
Hi @Anonymous,
Column = IF ( CALCULATE ( COUNT ( invoicefile[Article ID] ), FILTER ( ALLEXCEPT ( invoicefile, invoicefile[InvoiceID] ), LOOKUPVALUE ( brandlist[Brands], brandlist[ArticleID], invoicefile[Article ID] ) = "F" ) ) > 0, "Included", "Not included" )
Best regards,
Yuliana Gu
Hi @Anonymous,
Column = IF ( CALCULATE ( COUNT ( invoicefile[Article ID] ), FILTER ( ALLEXCEPT ( invoicefile, invoicefile[InvoiceID] ), LOOKUPVALUE ( brandlist[Brands], brandlist[ArticleID], invoicefile[Article ID] ) = "F" ) ) > 0, "Included", "Not included" )
Best regards,
Yuliana Gu
Nice Work...
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 |
---|---|
110 | |
96 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |