Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Our team is working on a dashboard with data directly connected to Smartsheet Data. We have correct data formats on the Smartsheet data source (i.e. whole number with no decimal point, $ for currency value). However, when connected to Power BI, the whole number changed to a decimal number and the currency value changed to the normal whole number format. Since this is a direct connection, the modelling function is not available. I wonder if this is an existing data integration issue or if there is a workaround?
Solved! Go to Solution.
Hi @117325
You could go to Edit queries, create a conditional column
Then change its type to "Number"(whole number or decimal number as you like)
Apply &close, go to report view, you could create a measure as i provide before to show the currency format.
Measure 2 = FORMAT( MAX('Sheet2$'[spend]), "Currency")
You could download my pbix to see more details.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @117325
A workaround is to create measures using "FORMAT" function to change it to your expected format.
measure = FORMAT(MAX('Sheet2$'[ticket]), "General Number") Measure 2 = FORMAT( MAX('Sheet2$'[spend]), "Currency")
But in this way, "format" function can only be used in measure and the measures are of Text type.
So the measures may not be used for calculation, it can only be useful for displaying.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the solution. Maggie. I was able to pull the format for the whole number. However, there is an issue with the currency format as the current cost column is in a text value with mixed currency value and text with "TBD". Any way we can change the existing text value column in currency format ($) - only to the currency value cells.
Adding screenshot of the cost column with the mixed values
Hi @117325
Is this problem sloved?
If not, please let me know.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, the solution worked. Thanks a lot!
Hi @117325
You could go to Edit queries, create a conditional column
Then change its type to "Number"(whole number or decimal number as you like)
Apply &close, go to report view, you could create a measure as i provide before to show the currency format.
Measure 2 = FORMAT( MAX('Sheet2$'[spend]), "Currency")
You could download my pbix to see more details.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |