Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have a table with a column and values. I'm trying to group the values into group ranges. For exmple
| Amounts |
| 10000 |
| 5000 |
| 4000 |
| 2000 |
| 5 |
| 11000 |
| 12000 |
| 20000 |
| 15000 |
| 30000 |
| 100000 |
| 25000 |
| 80000 |
| 18000 |
| 21000 |
| 14000 |
| 23500 |
and im looking for an outcome like this.
| Amounts | Count |
| Between 1 and 10000 | 5 |
| Between 10001 and 20000 | 6 |
| Between 20001 and 30000 | 4 |
| Above 30000 | 2 |
Solved! Go to Solution.
Hi @atari35
Probably the easiest is to create add a calculated column with the range:
Bucket =
SWITCH (
TRUE (),
Table1[Amount] <= 10000, "Between 1 and 10000",
Table1[Amount] <= 20000, "Between 10001 and 20000",
Table1[Amount] <= 30000, "Between 20001 and 30000",
"Above 30000"
)
then use it in a matrix visual with a simple COUNT measure
Hi @atari35
Probably the easiest is to create add a calculated column with the range:
Bucket =
SWITCH (
TRUE (),
Table1[Amount] <= 10000, "Between 1 and 10000",
Table1[Amount] <= 20000, "Between 10001 and 20000",
Table1[Amount] <= 30000, "Between 20001 and 30000",
"Above 30000"
)
then use it in a matrix visual with a simple COUNT measure
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |