Forum Discussion
Data Format Issue when connecting Smartsheet with Power BI
- 7 years ago
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.
- 1173257 years agoFrequent Visitor
Adding screenshot of the cost column with the mixed values
- v-juanli-msft7 years agoCommunity Support
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. - v-juanli-msft7 years agoCommunity Support
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.- 1173257 years agoFrequent Visitor
Yes, the solution worked. Thanks a lot!