Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

MROUND

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.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You have to create a measure. You can not create a dynamic column using a measure or whatif

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , You have to create a measure. You can not create a dynamic column using a measure or whatif

mahoneypat
Employee
Employee

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





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Thanks a lot i will give it a try

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.