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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
wujunmin
Advocate II
Advocate II

Triangle style bar chart by DAX+SVG

Result: 

wujunmin_0-1684486489706.png

Mark the measure below as image URL: 

Chart = 
VAR Max_Value = MAXX ( ALLSELECTED ('table'),[KPI] ) 
VAR SVG ="
    data:image/svg+xml;utf8,
    <svg xmlns='http://www.w3.org/2000/svg' width='300' height='30'>
        <polygon fill='deepskyblue'
          points=' "
             & 300 * [KPI] / Max_Value & ",15
             0,0 0,30'
        />
    </svg>"
RETURN
    SVG

 

wujunmin_1-1684486721024.png

 

0 REPLIES 0

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors