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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
BrendonHerbert
Regular Visitor

Help with Card Data Type Formats

Hi all,

 

I am working on something that is a little fun but I have reached a point where I am a little "flummoxed".

 

It is essentially a simple report based on 4Dx which allows users to define a bunch of variables in excel and then I can ingest it into Power BI and create a canned visual style report.  I am using this as an opportunity to play with Power BI so there are probably lots of things wrong here.  However....

 

I have an excel spreadsheet containing some parameters and values (see below)

 

BrendonHerbert_1-1572401913088.png

 

I then import into Power BI

 

BrendonHerbert_2-1572401986166.png

 

From here I have a Power BI Report page extracting the data using measures (mainly).

 

Sample measure and report page below.

 

BrendonHerbert_3-1572402064480.png

 

BrendonHerbert_0-1572401815849.png

 

The problem I have is that I cannot for the life of me figure out how to format the KPI target into a standard number. 

 

I have tried modifying the field format but because there are combinations of text and numeric values they all seem greyed out.

 

BrendonHerbert_5-1572402262950.png

BrendonHerbert_4-1572402229321.png

I am assuming I have done something silly but any help would be greatly appreciated. 

 

regards

 

Brendon

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @BrendonHerbert ,

 

FORMAT operates on numeric values. So FORMAT(<value> ,"Standard")  will display the value with thousand separators only if the value is of type numeric.  In your case all the values are of type text, although the content is numeric. So this approach will not work.

 

You could change the measure as follows

 

var Parameter = "KPI target"

var Stage1 = LOOKUPVALUE( Your original expression)

var Stage2 = CONVERT (Stage1, DOUBLE)

return

FORMAT(Stage2, "Standard")

 

Check it out and let me know.

 

Cheers

 

CheenuSing

 

 

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @BrendonHerbert ,

 

FORMAT operates on numeric values. So FORMAT(<value> ,"Standard")  will display the value with thousand separators only if the value is of type numeric.  In your case all the values are of type text, although the content is numeric. So this approach will not work.

 

You could change the measure as follows

 

var Parameter = "KPI target"

var Stage1 = LOOKUPVALUE( Your original expression)

var Stage2 = CONVERT (Stage1, DOUBLE)

return

FORMAT(Stage2, "Standard")

 

Check it out and let me know.

 

Cheers

 

CheenuSing

 

 

 

Hi @Anonymous  and @cjayaneththi ,

 

thank you both for your responses.  

 

@Anonymous your approach worked perfectly!!

 

thank you very much

 

BrendonHerbert_0-1572411255321.png

cjayaneththi
Helper I
Helper I

Hi,

 

You can create separate table for numeric  values when you query this table.

 

Cheers 

 

 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.