cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
munna825
New Member

SamePeriodLastYear broken out by Market

I am using sameperiodlastyear to calculate the total volume produced last year for the associated market. however in the matrix screenshot below i am getting the correcr grand total but the breakout for the market is missing. Am I using the wrong formula?

 

CM PY =
CALCULATE([MTD Service Volume],SAMEPERIODLASTYEAR('Date'[Date]))

munna825_1-1624045601430.png

 

4 REPLIES 4
munna825
New Member

I have a slicer with date filter between 5/1/2021 to 5/31/2021. I am using the matrix visualization and in columns i am splitting based on Markets from a dim table.

Hi,

If my suggestion did not help, then share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-janeyg-msft
Community Support
Community Support

Hi, @munna825 

 

Is your problem solved? Since there is no error in the code, we need more information to judge.

Can you share some sample fake data and your desired result? So we can help you soon.

 

Best Regards

Janey Guo

 

Ashish_Mathur
Super User III
Super User III

Hi,

In the slicer, ensure that you have selected a Year and Month from the Date Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors