Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am calculating sales for this day vs last day. I want to calculate the percentage in change. So, I created a the following measure :
Change = ((([Total Sales] - [Total Sales Last Day])/[Total Sales Last Day])*100) & "%"
I want to round up the result to last 2 digits. I tried using INT and ROUND functions, but they dont work. Can anybody suggest how can i round up the value?
Solved! Go to Solution.
Hi trisabiswas,
Based on your description, you want measure [change] to be a percentage, right?
To achieve your requirement, please use DAX formula below:
Change = ([Total Sales] - [Total Sales Last Day])/[Total Sales Last Day]
Then click on [change] and click Modeling->Format->Select Percentage->Set decimal places to 2.
The result is like below and you can refer to my sample PBIX file: https://www.dropbox.com/s/t8ndcw6rt0qcfh5/For%20trisabiswas.pbix?dl=0
Best Regards,
Jimmy Tao
Hi trisabiswas,
Based on your description, you want measure [change] to be a percentage, right?
To achieve your requirement, please use DAX formula below:
Change = ([Total Sales] - [Total Sales Last Day])/[Total Sales Last Day]
Then click on [change] and click Modeling->Format->Select Percentage->Set decimal places to 2.
The result is like below and you can refer to my sample PBIX file: https://www.dropbox.com/s/t8ndcw6rt0qcfh5/For%20trisabiswas.pbix?dl=0
Best Regards,
Jimmy Tao
Hi, I have similar issue, but I want only 1 value after decimal and in my case, it's rounding up 94.96 to 95% how can I show only 94.9% ?? I used 1 decimal place under formatting tab. Please help, it's urgent!
Solved !! Thanks Jimmy 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
79 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
59 | |
59 | |
49 | |
42 |