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 everyone 😁,
In the scope of my project I created a what if parameter and got a new table (for example, table A)with a column (containing the values I chose and a measure that maintains the value, which will be chosen by the user.
I also have another table of the data I imported (for example, table B)
The next step I want to do is to create a new column in my table B using the MROUND function in this way:
NEW COLUMN-MROUND(TableB[Column]; TableA[measure])
Obviously I can't do this because one argument is a column and the other is a measure. So the question is:
HOW CAN I DYNAMICALLY CHOOSE THE VALUES OF A COLUMN FOR A VALUE THAT IS CHOSEN BY THE USER???
Thank you in advance.
Solved! Go to Solution.
@Anonymous , You have to create a measure. You can not create a dynamic column using a measure or whatif
Calculated columns only recalculate at refresh, so you should consider a measure instead. If you need user input just on refresh, you could also consider a power query parameter.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thanks a lot i will give it a try
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |