Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hii ,
I Had Created a Fiscal Calender table with Fiscal Year-quarter Combination Column
& I had a sales Column in my Master data Table
I want to get Same period Last year & previous period sales by Using Fiscal Year-Quarter Combination
can i get a help from Anyone Please
Solved! Go to Solution.
Hi,
I assume starting month of the fiscal year is March.
I am not sure how your calendar table is structured, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Sales total: =
SUM( Sales[Sales] )
Sales same period last year: =
CALCULATE (
[Sales total:],
OFFSET (
-4,
ALL ( 'Calendar'[Fiscal Year-Quarter], 'Calendar'[FQuarternYear] ),
ORDERBY ( 'Calendar'[FQuarternYear], ASC )
)
)
Sales previous period: =
CALCULATE (
[Sales total:],
OFFSET (
-1,
ALL ( 'Calendar'[Fiscal Year-Quarter], 'Calendar'[FQuarternYear] ),
ORDERBY ( 'Calendar'[FQuarternYear], ASC )
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I assume starting month of the fiscal year is March.
I am not sure how your calendar table is structured, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Sales total: =
SUM( Sales[Sales] )
Sales same period last year: =
CALCULATE (
[Sales total:],
OFFSET (
-4,
ALL ( 'Calendar'[Fiscal Year-Quarter], 'Calendar'[FQuarternYear] ),
ORDERBY ( 'Calendar'[FQuarternYear], ASC )
)
)
Sales previous period: =
CALCULATE (
[Sales total:],
OFFSET (
-1,
ALL ( 'Calendar'[Fiscal Year-Quarter], 'Calendar'[FQuarternYear] ),
ORDERBY ( 'Calendar'[FQuarternYear], ASC )
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thanks a Lot Sir ,
Hii Power BI Community ,
Please Help me Out of this Scenario,
I had a data which includes address Field & Establisted date
& the Requirement was i want to show all addresses in Global map based on Play Slicer
( Which Means the Addresses need to be Shown based on date )
But the Problem is Play axis will filtering One date to another date
But My Requirement was i want
( Eg: if i have year : 2020 to 2023 then from 2020 to cummulatively the addresses need to be shown in Global map )
anyone please help me out this case How to do ????
User | Count |
---|---|
53 | |
28 | |
19 | |
18 | |
14 |
User | Count |
---|---|
92 | |
86 | |
39 | |
23 | |
22 |