Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Jo_Kas
Regular Visitor

MEASURE FOR YEAR - 2

Hello everyone !
I've recently started on PowerBi. So i don't know "DAX" very well... Could you help me ?

 

I'm trying to create several measures in my PowerBi reports :
Do you have any idea how:
1) Calculate the year - 2 of a turnover
I created this measure but 0 result...

TURNOVER TOTAL YEAR - 2 = CALCULATE(SUM(LIGNES_V[CA TOTAL]); PARALLELPERIOD('Date'[Date];-2;YEAR)) 

For the year - 1 I used and it works !  

TURNOVER TOTAL YEAR - 1 = CALCULATE(SUM(LIGNES_V[CA TOTAL]);SAMEPERIODLASTYEAR('Date'[Date]))


2) I also would like to define in my graphs the following data for:
- 0 to 1 month
-1 to 2 months
- 2 to 4 months
- 4 months or more
Thanks in advance


Yours truly

0 REPLIES 0

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.