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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
sales =
var addproduct =
ADDCOLUMNS(
numbers,
"product",
var make =
RANDBETWEEN(65,90)
var mymodel =
FORMAT(RANDBETWEEN(1,5), "-#" )
return
REPT( UNICHAR(make), 3) & mymodel
)
return addproductthis formula is returning the same numbers and values, i cant see the error in formula.. thanks
DDD-1
DDD-1
DDD-1
DDD-1
DDD-1
DDD-1
DDD-1
DDD-1
etc
etc
Creating a variable will perform the calculation ONCE, and then use that same value over and over. You want to have a different calculation for each row of the numbers table. Try this instead:
sales =
ADDCOLUMNS (
numbers,
"product", REPT ( UNICHAR ( RANDBETWEEN ( 65, 90 ) ), 3 )
& FORMAT ( RANDBETWEEN ( 1, 5 ), "-#" )
)
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |