This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
i have data like this:
Name | Grade
A | 2
B | 2,5
C | 1
D | 3,5
E | 2,5
what should i do if i want the result like this:
Hi @andikawill,
Do you want to count the number of records based on group like, KPI 3-3.5, KPI 2.5-3, etc? If so, you should create an extra column in your data table so that we can group data depend on this new group.
Column1 =
IF (
Table1[Grade] < 2,
"KPI<2",
IF (
Table1[Grade] >= 2
&& Table1[Grade] < 2.5,
"KPI 2-2.5",
IF ( Table1[Grade] >= 2.5 && Table1[Grade] < 3, "KPI 2.5-3", "KPI 3-3.5" )
)
)
In chart visual, add [Column1] as Axis, add Count of Name as Value.
Best regards,
Yuliana Gu
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 40 | |
| 39 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 76 | |
| 61 | |
| 34 | |
| 30 | |
| 25 |