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
Markzolotoy
Impactful Individual
Impactful Individual

Card with horizontal text/values

A simple card might looks like this:

Markzolotoy_0-1616442581075.png

Is it possible to have both text and value on the same horizontal line?

 

Thanks

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @Markzolotoy ,

According to your description, I create some data:

v-yangliu-msft_0-1616659482258.png

Here are the steps you can follow:

For displaying text and values at the card level:

Need to manually enter the text, can not automatically display

1. Create measure.

Measure = CALCULATE(SUM('Table'[amount]),FILTER(ALL('Table'),MONTH('Table'[date])=MONTH(MAX('Table'[date]))))
Measure 2 = "Measure"&"-"&'Table'[Measure]

2. Put measure2 into the card, and turn off the Category label in Format

v-yangliu-msft_1-1616659482283.png

3. Result:

v-yangliu-msft_2-1616659482288.png

For displaying images in a table, you can display images from URLs in Power BI:

https://carldesouza.com/how-to-display-an-image-from-a-url-in-a-power-bi-report/

 

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

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

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @Markzolotoy ,

According to your description, I create some data:

v-yangliu-msft_0-1616659482258.png

Here are the steps you can follow:

For displaying text and values at the card level:

Need to manually enter the text, can not automatically display

1. Create measure.

Measure = CALCULATE(SUM('Table'[amount]),FILTER(ALL('Table'),MONTH('Table'[date])=MONTH(MAX('Table'[date]))))
Measure 2 = "Measure"&"-"&'Table'[Measure]

2. Put measure2 into the card, and turn off the Category label in Format

v-yangliu-msft_1-1616659482283.png

3. Result:

v-yangliu-msft_2-1616659482288.png

For displaying images in a table, you can display images from URLs in Power BI:

https://carldesouza.com/how-to-display-an-image-from-a-url-in-a-power-bi-report/

 

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

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

TomMartens
Super User
Super User

Hey @Markzolotoy ,

 

unfortunately, this is not possible.

 

But as you can use DAX to create a string that can be used whereever a measure can be used you might consider to use this approach.

This type of measure can be used in titles of visuals or even inside the card viusal itself. You have to be aware that it's not possible to combine text with different fontsizes.

You can also try to use a table visual where you just use 2 columns one for the value and one for the text, this will to align value and text horizontally.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

I like the idea about a table. Can I have a transparent  image or something in the second column so I can see numbers through?

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.