Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Dax - Previous Quarter

$
0
0

Hi,

 

Requirement :

                      1. Want to show Present Quarter and Previous Quarter in Same Visual.

Used Formula : 

                   Previous Quarter = CALCULATE   (
                                                                            COUNT('Date Master (2)'[DayOfMonth]),

                                                                             PREVIOUSQUARTER('Date Master (2)'[Date].[Date])

                                                                         )

This Measure working fine for me.

 

1.JPG

 

 Problem is :

                     1. When i have apply filter am not getting the Previous Quarter value.

                     2. Instead of Previous am getting Next Quarter value. Logically that is correct i can understand .

 

 

2.JPG

 

 

But My question is How can i get my previous Quarter value. I know have to do something on DAX. but i am cluless please help me.

 












Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>