The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
my sample table looks like this:
Material | Specification | |
3M12345 | AAA | |
1234 | BBB | |
3M6543 | AAA | |
3234 | AAA | |
5324 | BBB | |
3M9876 | CCC | |
3M5555 | VVV |
I need a calculated table of the the Materials, but only with a specification of AAA, BBB and VVV, not the CCC's
Additional, regarding the AAA's I only want those filtered which starts with "3M.... ". BBB and VVV should display all Materials.
Thank you very much in advance.
Best.
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
New Table =
FILTER (
Data,
Data[Specification]
IN { "BBB", "VVV" }
|| AND ( Data[Specification] = "AAA", LEFT ( Data[Material], 2 ) = "3M" )
)
Hi,
Please check the below picture and the attached pbix file.
New Table =
FILTER (
Data,
Data[Specification]
IN { "BBB", "VVV" }
|| AND ( Data[Specification] = "AAA", LEFT ( Data[Material], 2 ) = "3M" )
)
User | Count |
---|---|
83 | |
82 | |
34 | |
33 | |
32 |
User | Count |
---|---|
93 | |
79 | |
62 | |
54 | |
51 |