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
nish2288
Helper I
Helper I

quarter to quarter comparison

I have slicer on dashboard having options Year,Quarter and Month. On selecting one of this value there is another slicer which will populate respective dates. For example. Slice 1 =Year, Slicer 2 will display all the years present on DB. 

 

Suppose i select quarter 3 of 2018 then following table should display count of sale for each type and last column should display how much sale is more as compaired to previos quarter of 2018.

 

Like wise if i select Feb in slicer then table should compare data with January.

 

Any suggestion how to achieve it ?

 

TypeSalesvs Q2
A1012%
B206%
C30-10%
1 ACCEPTED SOLUTION

First Slicer use column Period which display values like Year,Quarter,Month. On selecting one of the value second slicer use Column 'Date Filter'.

 

On selecting quarter in slicer ,table should display values like follows.

TypeIDvs Q2
K1012%
B206%
H30-10%

 

 

Sample Date:

IDTypePeriodDate Filter
486957483 PBMonthAugust-2017
486957483 CBMonthOctober-2017
486957483 GBMonthJune-2017
486957483 MSQuarterJan to Mar - 2018
486957483 JCQuarterJan to Mar - 2018
486957483 JKQuarterJan to Mar - 2018
486957483 MSYEAR2018
486957483 JCYEAR2018
486957483 JKYEAR2018
486957483 JCMonthJanuary-2018
486957483 ECMonthMarch-2017
486957483 HGMonthMay-2017
486957483 LGMonthNovember-2017
486957483 AHMonthJune-2017
486957483 JKMonthJanuary-2018
486957483 CKMonthNovember-2017
486957483 WKMonthOctober-2017
486957483 CPQuarterOct to Dec - 2017
486957483 CKQuarterOct to Dec - 2017
486957483 NSQuarterOct to Dec - 2017
486957483 RSQuarterOct to Dec - 2017
486957483 WKQuarterOct to Dec - 2017
486957483 CBQuarterOct to Dec - 2017
486957483 TLQuarterOct to Dec - 2017
486957483 LGQuarterOct to Dec - 2017
486957483 KKMonthAugust-2017
486957483 TLMonthDecember-2017
486957483 NLMonthMarch-2017
486957483 PBQuarterJul to Sep - 2017
486957483 KKQuarterJul to Sep - 2017
486957483 ASQuarterJul to Sep - 2017
486957483 CPMonthNovember-2017
486957483 NSMonthOctober-2017
486957483 MSMonthJanuary-2018
486957483 GBQuarterApr to Jun - 2017
486957483 HGQuarterApr to Jun - 2017
486957483 AHQuarterApr to Jun - 2017
486957483 RSMonthDecember-2017
486957483 ASMonthSeptember-2017
486957483 NLQuarterJan to Mar - 2017
486957483 ECQuarterJan to Mar - 2017
486957483 NLYEAR2017
486957483 CPYEAR2017
486957483 CKYEAR2017
486957483 GBYEAR2017
486957483 HGYEAR2017
486957483 NSYEAR2017
486957483 RSYEAR2017
486957483 ECYEAR2017
486957483 WKYEAR2017
486957483 PBYEAR2017
486957483 CBYEAR2017
486957483 AHYEAR2017
486957483 KKYEAR2017
486957483 TLYEAR2017
486957483 LGYEAR2017
486957483 ASYEAR2017

View solution in original post

2 REPLIES 2
danextian
Super User
Super User

Hi @nish2288,

 

There are several ways to accomplish your desired result. As a starter, please post a sample data. 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

First Slicer use column Period which display values like Year,Quarter,Month. On selecting one of the value second slicer use Column 'Date Filter'.

 

On selecting quarter in slicer ,table should display values like follows.

TypeIDvs Q2
K1012%
B206%
H30-10%

 

 

Sample Date:

IDTypePeriodDate Filter
486957483 PBMonthAugust-2017
486957483 CBMonthOctober-2017
486957483 GBMonthJune-2017
486957483 MSQuarterJan to Mar - 2018
486957483 JCQuarterJan to Mar - 2018
486957483 JKQuarterJan to Mar - 2018
486957483 MSYEAR2018
486957483 JCYEAR2018
486957483 JKYEAR2018
486957483 JCMonthJanuary-2018
486957483 ECMonthMarch-2017
486957483 HGMonthMay-2017
486957483 LGMonthNovember-2017
486957483 AHMonthJune-2017
486957483 JKMonthJanuary-2018
486957483 CKMonthNovember-2017
486957483 WKMonthOctober-2017
486957483 CPQuarterOct to Dec - 2017
486957483 CKQuarterOct to Dec - 2017
486957483 NSQuarterOct to Dec - 2017
486957483 RSQuarterOct to Dec - 2017
486957483 WKQuarterOct to Dec - 2017
486957483 CBQuarterOct to Dec - 2017
486957483 TLQuarterOct to Dec - 2017
486957483 LGQuarterOct to Dec - 2017
486957483 KKMonthAugust-2017
486957483 TLMonthDecember-2017
486957483 NLMonthMarch-2017
486957483 PBQuarterJul to Sep - 2017
486957483 KKQuarterJul to Sep - 2017
486957483 ASQuarterJul to Sep - 2017
486957483 CPMonthNovember-2017
486957483 NSMonthOctober-2017
486957483 MSMonthJanuary-2018
486957483 GBQuarterApr to Jun - 2017
486957483 HGQuarterApr to Jun - 2017
486957483 AHQuarterApr to Jun - 2017
486957483 RSMonthDecember-2017
486957483 ASMonthSeptember-2017
486957483 NLQuarterJan to Mar - 2017
486957483 ECQuarterJan to Mar - 2017
486957483 NLYEAR2017
486957483 CPYEAR2017
486957483 CKYEAR2017
486957483 GBYEAR2017
486957483 HGYEAR2017
486957483 NSYEAR2017
486957483 RSYEAR2017
486957483 ECYEAR2017
486957483 WKYEAR2017
486957483 PBYEAR2017
486957483 CBYEAR2017
486957483 AHYEAR2017
486957483 KKYEAR2017
486957483 TLYEAR2017
486957483 LGYEAR2017
486957483 ASYEAR2017

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.