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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Is it possible to change or display the correct data type in a measure

I have a great formula that change of the measure based on the user selection

The problem is that on this formula we calculate some values as Decimal Number and 2 others as Percentage but when selecting the values that should appear in % they appears as decimal
is there anyway to solve this? that when user select X Measure the values shown as % if they are % or decimal if not 


this values should be %

EduardoCED_0-1657591626648.png

this values are displayed correctly

EduardoCED_1-1657591673973.png

 

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @Anonymous 
Have you tried using Field Parameters? https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

2 REPLIES 2
danextian
Super User
Super User

Hi @Anonymous 
Have you tried using Field Parameters? https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
jdbuchanan71
Super User
Super User

@Anonymous 

It is, you can do that using calculation groups.  Take a look at this video from GIAC.  
https://www.youtube.com/watch?v=vlnx7QUVYME&ab_channel=GuyinaCube

Towards the end he shows how for format the % measures correctly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.