The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi there,
So far so good. However, the relationship does not seem to work. I don't know why.
There are two measures:
The problem is that only #1 works. #2 always shows the absolutely last entry in the date table. Even trying LASTDATE(ALLSELECTED(...)) didn't work.
I have attached a screenshot to this setup below. Does anyone spot the problem? This is driving me crazy, far more complex calculations work, but this doesn't... 😕
Kind regards, chefe
P.S.:
does it it matter where (on what table that is) the measure is stored?
Hi @chefe,
Could you please post expected result here? Do you want to calculate max date of fact table using LASTDATE function? If so, please create measure using DAX below.
LastDate = LASTDATE(IR positions MTM[period_settlement_date])
Thanks,
Lydia Zhang
User | Count |
---|---|
78 | |
74 | |
43 | |
32 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
50 | |
46 |