Forum Discussion

A-Rae's avatar
A-Rae
New Member
3 years ago
Solved

DAX formula for Percentage between two columns

Hello, I'm new to Power BI/DAX.  I need to create a column on my table to show the percentage of the New Sales column compared to the salesperson's Quota column (see pic), their % Achievement .  For...
  • FreemanZ's avatar
    3 years ago

    hi A-Rae 

    try to

    1)create a measure with this code:

    Achievement%=
    FORMAT(
        DIVIDE(
            SUM(Sales[Sales]),
            SUM(Budget[Quota]),
         ),
        "0.0%"
    )
     
    2)then plot any visual with this measure.