The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello dear members,
I have a problem and I do not know how I could handle it.
In the same column I have different units of measurement. For example, I can have currency, kgs, percentage and I cannot format them properly (I have as a column type text and number).
When I present the data in a report, they don’t have the appropriate format.
Is there a way to format by row instead of column?
Thank you in advance
Solved! Go to Solution.
Hi,
you can try something like this (look only the format)
If this post is useful to help you to solve your issue consider giving the post a thumbs up
and accepting it as a solution !
@serpiva64 the problem was the column format. I removed the symbols and i changed the format from text to number and the DAX was working perfectly.
Thank you very very much!!
Thank you very much for your replies.
Unfortunately I can't create multiple columns for this problem or save them with symbols as text.
Thank you very much for your time. Your effort is greatly appreciated
Hi,
you can try something like this (look only the format)
If this post is useful to help you to solve your issue consider giving the post a thumbs up
and accepting it as a solution !
Hello @serpiva64
Thank you very much for your reply.
Your solution is exactly what i need but it doesn't working. I get the exact same values 😞
Should i change the type of the new calculated column?
What might be the problem?
You can use FORMAT from DAX to how you wanted it to be.
You can also unpivot the data if you are open to turn them into columns instead of rows.
Hope this helps.
At column level, it will be only one data type. If you want to store more than one data type in a column, then make the column text type and store these data. Hence, store the data like 12.45%, $348.95, 45.6 kgs...You will have to treat these different data types when you read them for further processing.