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
Hello experts.
I have a table that contains data in following format
Build ver Color
12 1.0.1 blue
12 1.0.3 red
13 2.0.4 blue
13 2.0.5 orange
12 3.0.2 blue
I want to create a measure that if is ‘12’ and ‘blue’, it will filter only
12 1.0.1 blue
12 3.0.2 blue
This works for only one criteria
Measure = COUNTROWS(FILTER(UnifiedInstallers,UnifiedInstallers[Color]="blue")) but I need the Build too.
Any help is greatly appreciated
Solved! Go to Solution.
Hi @BEC_100
You can use && to concatenate multiple criteria. For example,
Measure =
COUNTROWS(FILTER(UnifiedInstallers,UnifiedInstallers[Color]="blue" && UnifiedInstallers[Build]="12"))
If the Build column is Number type, remove the double quotes around 12.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @BEC_100
You can use && to concatenate multiple criteria. For example,
Measure =
COUNTROWS(FILTER(UnifiedInstallers,UnifiedInstallers[Color]="blue" && UnifiedInstallers[Build]="12"))
If the Build column is Number type, remove the double quotes around 12.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
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.
User | Count |
---|---|
120 | |
87 | |
75 | |
53 | |
45 |
User | Count |
---|---|
135 | |
128 | |
77 | |
64 | |
64 |