Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
95 | |
90 | |
35 | |
35 |
User | Count |
---|---|
154 | |
102 | |
82 | |
64 | |
54 |