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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
v-mubish
Helper I
Helper I

Different behaviour of Custom Visual in power BI Service and Desktop

Hi,

 

Trying to develop custom table visual. my input dataset looks like this -:

Hoursheader1header2header3header4header5header6
8:00 AM01$000%0
8:00 AM20$220%2
9:00 AM10$111%0

 

I am trying to add the symbols i.e. $ and % at last while printing the particular element of column "header3" and "header5" (prefixing or suffixing the symbol before/after data),  based on the format these columns are giving in options.dataview

 

format for % is-: "0%"

format for $ is-: ""$"#,##0;\("$"#,##0\)"  (idk, looks like regular exp)

 

So trying to prefix and suffix the symbol based on diff. conditions.

Working in PowerBI service nicely but when i am paackaging it and running in Power BI Desktop, It is appending $ sign with each cell's element in table.

pbi.PNG

 

Not sure if, format is getting changed for table columns in dekstop version.

 

A helping hand is appreciated.....

 

2 REPLIES 2
v-viig
Community Champion
Community Champion

Topic looks like duplicate of this topic.

Please take a look at that topic to find out more.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Sorry, Ignore this one.

Thank you.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors