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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

MROUND

Hello everyone 😁 ,

In the scope of my project I created a what if parameter and got a new table (say 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 (say 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.

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

By the way, you may take a look at the post below to learn more.

https://community.powerbi.com/t5/Desktop/How-do-I-Call-a-Power-Query-M-Function-from-a-DAX-Measure/m...

Community Support Team _ Sam Zha
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-chuncz-msft
Community Support
Community Support

@Anonymous 

 

By the way, you may take a look at the post below to learn more.

https://community.powerbi.com/t5/Desktop/How-do-I-Call-a-Power-Query-M-Function-from-a-DAX-Measure/m...

Community Support Team _ Sam Zha
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

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

Top Solution Authors