Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
77 | |
76 | |
44 | |
31 | |
26 |
User | Count |
---|---|
98 | |
89 | |
52 | |
48 | |
46 |