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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mhsieh
Helper II
Helper II

KPI card: want it to show the current Quarter value, instead of Month.

Hi everyone,

I would like the KPI card to show the most current quarter value. Here (see attached screenshot) my KPI card is showing the most current month value, how do I make it to show the most current quarter value instead? I imagine I will need to write a DAX calculation, but I don't know how. If anyone could teach and help me, I would greatly appreciate it!

 

850 = 
IF(
    ISBLANK(
        SUM(Retailer_Compliance[VOL_850])
    ),
    0,
    SUM(Retailer_Compliance[VOL_850]
    )
)

 

 

855 = 
IF(
    ISBLANK(
        SUM(Retailer_Compliance[VOL_855])
    ),
    0,
    SUM(Retailer_Compliance[VOL_855]
    )
)
855_TO_850 = 
IFERROR(
    [855] / [850],
    0
)

 

mhsieh_0-1660241035930.png

1 ACCEPTED SOLUTION
mhsieh
Helper II
Helper II

Hi everyone,

I was able to resolve it myself by calculating the 850_QTD, 855_QTD,  855_TO_850_QTD

850_QTD = 
CALCULATE(
    [850],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_QTD = 
CALCULATE(
    [855],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_TO_850_QTD = 
IFERROR(
    [855_QTD] / [850_QTD],
    0
)



View solution in original post

1 REPLY 1
mhsieh
Helper II
Helper II

Hi everyone,

I was able to resolve it myself by calculating the 850_QTD, 855_QTD,  855_TO_850_QTD

850_QTD = 
CALCULATE(
    [850],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_QTD = 
CALCULATE(
    [855],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_TO_850_QTD = 
IFERROR(
    [855_QTD] / [850_QTD],
    0
)



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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