Forum Discussion

kxj's avatar
kxj
Frequent Visitor
3 years ago
Solved

KPI Visual: Measure in Target Goal Field

Hi,   I have a list of transactions and premium amounts along with the date a transaction was recorded. I'm looking to compare Current Month to Date premium amounts with the Prior Year's Month to D...
  • kxj's avatar
    kxj
    3 years ago

    Hi Aniya,

     

    Thank you for responding. I believe I figured it out. I had to create two measures: one for Current MTD premium and one for Prior Year MTD Premium in order for both values to show correctly on the KPI:

    Prior Year MTD Prem = CALCULATE(SUMX(FILTER(ALLSELECTED(Table), 'Table'[Current MTD/Prior Year MTD] = "Prior Year MTD"),'Table'[Premium]))

     

    This paired with another measure for Current MTD allows me to place both values on the KPI that also interacts with all of the Slicers:

    I appreciate your response!