Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Good morning guys,
I have a need in Power BI, I have a calculated column that returns the difference between two dates, in days format. However, when I place this new field on a chart, I would like to be able to see the number of days by inserting a text description into the labels. (For example: [date] - "days") So that I can have a more descriptive analysis of the time I am viewing. Would anyone know how to help me with a solution, whether through DAX or any other type of path?
Hi @hashira98
As a first option, I would specify a custom format string for the column, specifically this (the initial zero can be adjusted to any other format string you like):
0" days"
Does this work for you?
Regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 6 | |
| 6 |