The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have create a paginated report but number formatting is not working, I have changed the 'Text Box' property for the cell but my output is still displaying number with decimals:
Text Box Property box
Output from the browser
I have refreshed my query multiple times but no luck.
Please advise.
Thanks,
Ali.
Solved! Go to Solution.
So I finally figured it out I use an expression to set value and getting the expected results.
CDbl(Column_Name)
and used the number format from the text box properties and it is working as expected.
Again, thank you every one for helping me as I definately learn some new ways of formatting.
Thanks,
Ali.
Hi Jainesh,
The data type property was already showing the same, but I am still getting the extra decmals in the paginated report. I have saved the model, exit the Power BI and reopened it again but no luck.
Thanks,
Ali.
Hi @aliahad,
Thanks for sharing the screenshots. In Paginated Reports, the number formatting that we apply in Power BI Desktop model doesn’t always reflect. Paginated report has its own formatting settings.
Can you please try this once:
1.Right click on the textbox in your paginated report → go to Text Box Properties.
2.Under Number → Custom, type a format like:
N0 → for whole number (no decimals)
N2 → for 2 decimal places
C0 → for currency without decimals
3.Press OK and run the report again.
Please find the attached screenshot for your reference.
This way you can control how the number shows in the paginated report, even if the dataset is giving more decimal values.
I hope this information is helpful to you. If you need any further clarification or assistance, please let me know.
Best Regards,
Harshitha.
Hi @v-hjannapu
I have tried your suggestion but that also doesn't solve my issue, the only thing left is to make the changes in the ETL process and hopefully that will give me the results that I am looking for.
Thanks everyone for all the help.
Ali.
So I finally figured it out I use an expression to set value and getting the expected results.
CDbl(Column_Name)
and used the number format from the text box properties and it is working as expected.
Again, thank you every one for helping me as I definately learn some new ways of formatting.
Thanks,
Ali.
Hey @aliahad,
The number formatting in Text Box Properties only affects display formatting, not the underlying data type. Your data appears to be coming through as text/string values rather than numeric values.
The formatting settings you already configured in Text Box Properties are correct, but they only work when the underlying data is recognized as numeric rather than text.
Fixed? ✓ Mark it • Share it • Help others!
Best Regards,
Jainesh Poojara | Power BI Developer
Hi Jainesh,
I already have done that earlier and refreshed the data mutiple times but no luck.
When I create a new visualization I can see the fomat properly but it is not show translating to the paginated report.
Thanks,
Ali.
Hey @aliahad,
This approach works at the data model level, so the formatting will automatically apply to ALL visuals using that column, regardless of visual type.
Fixed? ✓ Mark it • Share it • Help others!
Best Regards,
Jainesh Poojara | Power BI Developer