Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 months ago
Solved

KPI Card Question

Hi all,  This is just putting the feelers out there to see if anyone has come across an app that does this or would I have to do some fancy designing in the KPI visual.  I would like to recreate ...
  • burakkaragoz's avatar
    8 months ago

    Hi Anonymous ,

    That is a very clean design!

    To answer your question: No, you do not need a paid App for this. You can recreate this natively using the Card (New) visual, which is now Generally Available.

    However, the left side of your example (the stacked 0%, Arrow, and -9.4%) is too complex for the standard "Icon" options. The trick to getting that "Pixel Perfect" layout without a custom visual is to use DAX SVGs.

    Here is the recipe:

    1. The Visual: Use the Card (New) visual.

    • Data: Drag your Main Value (54,100) here.

    • Reference Labels: Enable this in the formatting pane and add your Target Value (59,689) here to make it appear below the main number.

    2. The "Fancy" Part (Left Side): Create a measure that generates that specific Arrow/Percentage stack as an image.

    • Go to Cards > Image settings.

    • Set Image Type to "Image URL".

    • Set Position to "Left".

    • Use the following DAX pattern for the Image URL:

    KPI SVG Image = 
    VAR ArrowColor = "Green" -- Make this dynamic based on your logic
    RETURN
    "data:image/svg+xml;utf8,
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'>
        <text x='50' y='20' text-anchor='middle' fill='" & ArrowColor & "' font-size='20' font-family='Segoe UI'>0%</text>
        
        <path d='M50 30 L80 60 L65 60 L65 90 L35 90 L35 60 L20 60 Z' fill='" & ArrowColor & "' />
        
        <text x='50' y='95' text-anchor='middle' fill='Red' font-size='20' font-family='Segoe UI'>-9.4%</text>
    </svg>"

    (You can make the text and colors dynamic by referencing your measures inside the string).

    This method is lightweight, loads instantly, and requires zero extra budget for custom visuals!

    Hope this helps you build that dashboard!


    If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
    This response was assisted by AI for translation and formatting purposes.