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 am trying to see how many counts of a specific value range between two numbers. I am having a hard time understanding how I would count how many occrurrances are between this value range. Take a look at the example screenshot below:
Basically, I am trying to create a table filter very similar to the one I have made up here. Is there anyway I could go about getting the count of each occurance between two numbers?
Solved! Go to Solution.
@Anonymous
1. Create a caluclated column like
CTE Range=
SWITCH (
TRUE(),
CVE < 2.9 , "< 2.9",
CVE >= 3.0 && CVE <= 4.9, "3.0 - 4.9",
CVE >= 5.0 && CVE <= 5.9, "5.0 - 6.9",
CVE >= 7.0 && CVE <= 10.0, "7.0 - 10.0",
Blank())
2. Create a measure CTE Measure = Count(CTERange).
3. Drop CTE Range and CTE MEasure inta table
@Anonymous
1. Create a caluclated column like
CTE Range=
SWITCH (
TRUE(),
CVE < 2.9 , "< 2.9",
CVE >= 3.0 && CVE <= 4.9, "3.0 - 4.9",
CVE >= 5.0 && CVE <= 5.9, "5.0 - 6.9",
CVE >= 7.0 && CVE <= 10.0, "7.0 - 10.0",
Blank())
2. Create a measure CTE Measure = Count(CTERange).
3. Drop CTE Range and CTE MEasure inta table
Thanks - I've been searching for an answer all day. This worked perfectly.
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |