Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Is it possible to do in a measure to build a dynamic label in a table?
From this table
| Group | VOL |
| A | 178 |
| B | 225 |
| C | 126 |
| D | 157 |
| E | 76 |
| F | 238 |
| TOTAL | 1000 |
I want to expand F by divide by 4
to
| Group | VOL |
| A | 178 |
| B | 225 |
| C | 126 |
| D | 157 |
| E | 76 |
| F 1 | 59.5 |
| F 2 | 59.5 |
| F 3 | 59.5 |
| F 4 | 59.5 |
| TOTAL | 1000 |
Solved! Go to Solution.
Hi @tonyc ,
Here are the steps you can follow:
1. Create calculated table.
True =
var _table=
FILTER('Table',[Group]="F")
var _table1=
GENERATE (
_table,
SELECTCOLUMNS (
GENERATESERIES ( 1, 4),
"Index", [Value]
)
)
var _table2=
ADDCOLUMNS(
_table1,"Group1",[Group]&" "&[Index])
var _table3=
SUMMARIZE(
_table2,[Group1],"VOL",MAXX(_table2,[VOL]) / 4)
return
UNION(
FILTER('Table',[Group]<>"F"),_table3)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @tonyc ,
Here are the steps you can follow:
1. Create calculated table.
True =
var _table=
FILTER('Table',[Group]="F")
var _table1=
GENERATE (
_table,
SELECTCOLUMNS (
GENERATESERIES ( 1, 4),
"Index", [Value]
)
)
var _table2=
ADDCOLUMNS(
_table1,"Group1",[Group]&" "&[Index])
var _table3=
SUMMARIZE(
_table2,[Group1],"VOL",MAXX(_table2,[VOL]) / 4)
return
UNION(
FILTER('Table',[Group]<>"F"),_table3)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
the original source is not a table. It is a visualisation table. VOL is a measure.
VOL = CALCULATE(
thank you
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |