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

Hi all 😁,

 

In scope of my project i created a what if parameter and i got a new table (lets say table A) with a column( which contains the values that i chose and a measure that keeps the value, which will be chosen by the user.

 

I also have an other table from the data that i imported (lets say table B)

The next step that i want to do, is to create a new column in my table B using the function MROUND  like this :

 

NEW COLUMN=MROUND(TableB[Column];TableA[measure])

 

As it is obvious i can not do this beacause one argument is a column and the other is a measure.So the question is:

 

HOW CAN I DYNAMICALLY  ROUND THE VALUES OF A COLUMN BY A VALUE WHICH IS CHOSEN BY THE USER???

 

Thank you in advance.

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create a measure,[Parameter Value] is a measure

 

Measure = MROUND(MAX(TableB[Column1]),[Parameter Value])

 

Capture9.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create a measure,[Parameter Value] is a measure

 

Measure = MROUND(MAX(TableB[Column1]),[Parameter Value])

 

Capture9.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

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

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.