The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I would like to display "080510" instead of "80510" in my dashboard.
Which modification do I have to do on my table ?
Please see the attached file.
Thanks for your support.
Regards,
Jaouad
Hey @jaouad,
I don't see an attached file, but if you want the leading zero to stay (assuming this is like a serial number, not a date), then you can change the data type to text and format to text as well.
If it is a date, then you can set the data type to Date and the format will be MMddyy.
Hope this helps,
Alan
Dear All,
Thanks for your reply.
I don't know how to dispaly the number "0" for HS code.
Also, for the Net Weight values column, I don't know why the values are "sticked", at the bottom tile of the dashboard.
Please check the dashboard.
Regards,
Jaouad
I assume your current column is of data type number.
you can add another column using dax, let's it is called MyNumber = CONCATENATE("0", YourExistingColumn) and then use this new calculate column to display number with "0"
Let me know if you need help with how to add new column?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi,
I would like to add a picture but it doesn't work.
Thanks for your help,
Jaouad
Based on your shared link, it seems the "HS CODE" you put in slicer is a "Category" field for grouping data. You can change the its data type into "text" in Power BI Desktop. Then use CONCATENATE() to add "0" into text.
Regards,
Can you answer my question? What is the data type of your existing column?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
You can also add new column and use extract, see below
Seems like it is a text column and if it contains numeric value, change its data type to whole number will do the job. If you can tell more about your data, it will help to provide the apporpirate solution, although there are many ways to achieve this.
Thanks,
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
111 | |
80 | |
78 | |
43 | |
37 |
User | Count |
---|---|
158 | |
111 | |
64 | |
59 | |
54 |