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.
Hi,
I have a wierd issue with SAMEPERIODLASTYEAR function. I am calculating the running total percentage over the actual revenue for each quarter. Let's call this Attainment.
Now, I am trying to compare the attainment values between two years.
I have data for all the dates for the fiscal quarters from previous years (From Jan 1 - Mar 31). And for the current quarter, I have only the data upto the current date. (From Jan 1 - Feb 26). Now when I try to lookup the Attainment value from prev year for the same date using the below formula,
AttainmentLY = CALCULATE([Attainment], SAMEPERIODLASTYEAR(DimDate[Date]))
I get same values for Attainment and AttainmentLY. How is this possible?
There is a one-many relationship between the date columns of DimDate and Sales tables.
In your Table VISUAL or MATRIX VISUAL... are you taking the DATE Column from DIMDATE???
I am trying with both Table and Matrix. And yeah, the date column is from a special table I populated using CALENDER function in DAX.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |