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 September 15. Request your voucher.
Hi,
This is my dummy data. In some of the rows, I want to use the $sign with the number and other rows %sign with the number.
When I import this data into Power BI, % and $ symbol are not coming.
Solved! Go to Solution.
Hello @sbhan4
What is the condition for your format,
If you need it formatted, you must convert it to a column of type string.
then create a measure
measurement: Switch (true(),
[Col1] á "Cond1", FORMAT(table[Col3], "Currency"),
[Col1] - "Cond2", FORMAT(table[Col3], "-%"),
[Col1] á "Cond3", FORMAT(table[Col3], "-"))
Hi @Anonymous ,
You may enter into Query Editor, go to APPLIED STEPS, find the step named "Changed type" , delete this step.
Or you may go to File -> Options and settings -> Options ->CURRENT FILE ->Data Load, don't tick the option "Detect column types and headers for unstructured sources", restart the Power BI Desktop to take effect of this change.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @sbhan4
What is the condition for your format,
If you need it formatted, you must convert it to a column of type string.
then create a measure
measurement: Switch (true(),
[Col1] á "Cond1", FORMAT(table[Col3], "Currency"),
[Col1] - "Cond2", FORMAT(table[Col3], "-%"),
[Col1] á "Cond3", FORMAT(table[Col3], "-"))
@Anonymous Thanks Pranit for your help. Well, I have provided a link to my dummy data. As you see in the screenshot, columns Goal, Actual, YTD Goal, YTD Actual - Ex Cost metrics should be $ and other in % and Number. Please share pbix if possible.
https://drive.google.com/file/d/13G6ugOhXQ3TlcjMea629H35c0dDv2rn1/view?usp=sharing
@pranit828 Thanks for your help. Actually, As you see in the screenshot. If I import that dataset in table format.
One metric should be $ other one % and remaining just numbers.
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
48 | |
44 |