Reply
Jacques-bzh
New Member
Partially syndicated - Outbound

gauge chart in report builder

I use a gauge in a Power BI paginated report. 

In design it is OK

Jacquesbzh_0-1732895888820.png

Start and end value have comma as decimal separator.

When I execute the report , start and end values are 0 and 100. I think french number format is not recognized.

Jacquesbzh_1-1732896390925.png

A few weeks ago this was OK.

A solution ?

1 ACCEPTED SOLUTION
Jacques-bzh
New Member

Syndicated - Outbound

Thank you for your answer, that helped me to find the solution.

Using the conversion fonction Cdec it is OK when I execute the report.

 

Jacquesbzh_0-1733128545456.png

 

View solution in original post

2 REPLIES 2
Jacques-bzh
New Member

Syndicated - Outbound

Thank you for your answer, that helped me to find the solution.

Using the conversion fonction Cdec it is OK when I execute the report.

 

Jacquesbzh_0-1733128545456.png

 

v-linyulu-msft
Community Support
Community Support

Syndicated - Outbound

Hi, @Jacques-bzh 

You can try using the following expression to transform the data within your expression:

CInt(Fields!YourFieldName.Value) 

vlinyulumsft_0-1733121875981.png

For further details, please refer to:

Type Conversion Functions - Microsoft Support

 

You can also directly transform the columns used by incorporating SQL statements in the query steps:

vlinyulumsft_1-1733121886214.png

For further details, please refer to:

 CAST and CONVERT (Transact-SQL) - SQL Server | Microsoft Learn


Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)