Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Power BI Expert, need an advice about DAX.
I am trying to create a new table with one column but with vary row value depends on one condition. Let's say the condition is 15 (or max hours in below case), so I am trying to make a new table with 15 rows contained value of 1-15 for each row.
My problem is, is there any way to create the same table without writing the number one-by-one?
Thank you and really appreciate for the help.
Solved! Go to Solution.
You can use following dax to creat a table
You can use following dax to creat a table
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 21 | |
| 17 | |
| 11 | |
| 10 |