Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
117325
Frequent Visitor

Data Format Issue when connecting Smartsheet with Power BI

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?

 

1 ACCEPTED SOLUTION

Hi @117325 

You could go to Edit queries, create a conditional column

17.png

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") 

18.png

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.

View solution in original post

6 REPLIES 6
v-juanli-msft
Community Support
Community Support

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") 

8.png

 

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. 

 

 

 

117325
Frequent Visitor

Adding screenshot of the cost column with the mixed values

 

Cost (3).png

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

17.png

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") 

18.png

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.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.