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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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 MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors
Top Kudoed Authors