Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Parallel Period - Multiple Quarter Selection

Hello everyone,

 

I'm facing some issues with slicer filtering on my visuals. I have a DAX formula for calculating the SLA% for the last Quarter:

 

L_Quarter SLA % FTF = CALCULATE([SLA % FTF], PARALLELPERIOD(dim_calendar[Date], -1, QUARTER))

 

When I add this to a KPI card in the  "target" field it displays correctly when I select multiple quarters in the current year:

Year selected: 2022

Quarters selected: Q1+ Q2 + Q3

 

In my measure I want to show the quarter before the quarter we are currently in. (for example: We are in 2022 Q4, I have the slicer selection as shown above, I want to display the value of 2022 Q3) this happens when I only select Q4 in my slicer, but it fails when I select multiple quarters. (So in the picture down below: "Last Quarter: 0.89" should be "100", the exact same measure is used, only the correct value is in the KPI card and the incorrect value with exact same measure in a normal "Card".)

 

 

Somehow, the KPI card, shows the correct output when multiple quarters are selected, but I need it in a measure.

 

Is there someone who knows a fix for this?

 

(can't share the pbix file)

2 Replies