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 All,
I was to display Previous 6 Months based on the slicer selection my Measure is as shown below, so what wrong am I doing it's not filtering the Previous 6 month, the relationship is inactive between date and fact table. please Assit me with the DAX measure so that it dispaly only Previous 6 month. Thanks
DAX: -Running Items =
VAR ReferenceDate = MAX( 'Evolution Date'[Date])
VAR PreviousDates = DATESINPERIOD( 'Evolution Date'[Date] , ReferenceDate , -6, MONTH)
VAR Result =
CALCULATE( [Running Item's] ,
KEEPFILTERS( PreviousDates),
USERELATIONSHIP( 'Evolution Date'[JoinKey] , ContractFactEvolution[FK_LoadDate] ))
RETURN
Result
Relationship :-
Output :-
Regards
Suhel
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 |
---|---|
104 | |
104 | |
87 | |
73 | |
66 |
User | Count |
---|---|
122 | |
112 | |
98 | |
79 | |
72 |