The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have a case where I wan't to find the combination of ID and Idref where Message and Search occurs together. I'm not sure how I can create the column "Contains Message & Search". It should group by ID and Idref and check if both Message and Search occurs. If it does, then for all rows for the combination of ID and Idref then return 1, otherwise just return 0.
I've tried some combinations of group by, summarize (but don't want to create a new table)..
Would be great if someone can help me.
ID | Idref | type | Contains Message & Search |
1 | 1 | Message | 0 |
1 | 1 | Given | 0 |
1 | 2 | Search | 0 |
1 | 2 | Given | 0 |
2 | 1 | Message | 1 |
2 | 1 | Search | 1 |
2 | 1 | Given | 1 |
3 | 1 | Message | 0 |
3 | 2 | Message | 0 |
3 | 2 | Given | 0 |
3 | 3 | Message | 1 |
3 | 3 | Search | 1 |
3 | 3 | Given | 1 |
Thanks!
Solved! Go to Solution.
Hi.
You can use the following measure:
Hi.
You can use the following measure:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
80 | |
80 | |
48 | |
40 |
User | Count |
---|---|
150 | |
110 | |
64 | |
64 | |
57 |