Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
HI,
i created a measure that calcuates a sum of the previous year value using PARALLELPERIOD function.
below is my measure:
BIM PD (Owned) Previous YearEnd =
CALCULATE ( SUM('FE Values'[BIM PD (Owned)]),PARALLELPERIOD (FE Date'[Date],-1,YEAR))
so 'FE Values' is a fact table in the model and 'FE Date' is the date dimension that is related to the 'FE Values 'table (one to many).
If i use the measure with any of the FE Date attributes it works fine, however, when i use attributes from another dimension that is related to the FE Values table i get multiple rows returned because the dimension values changed from the previous year to current year.
Here is the data when using just Year from FE Data and the BIM PD (Owned) and the new measure:
but when i drag in the Divison Name from teh Client Dimension Table (which is also related to the FE Values table), i get this:
so it looks like because the Div Name is different from the previous year (went from Eastern to Central, the grid shows both values. However, i just want to show the current value for 2021 for any attribute.
Scott
Remove the Division Name from the visual again?
It's not clear what your desired outcome is. Can you illustrate?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |