Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi all,
I have two tables, I need to get the most recent value and cod_in in the table (IN) ignoring month of data row table (Out)
I'm currently using this measure:
VALUE_RECENT = VAR _date = EOMONTH(SELECTEDVALUE(OUT[DATE]),-1)
VAR _data = MAXX(FILTER('IN', 'IN'[DATE]<= _date),'IN'[DATE])
RETURN
MAXX(FILTER('IN','IN'[DATE] = _data),'IN'[VALUE])
COD_IN_RECENT = VAR _date = EOMONTH(SELECTEDVALUE(OUT[DATE]),-1)
VAR _data = MAXX(FILTER('IN', 'IN'[DATE]<= _date),'IN'[DATE])
RETURN
MAXX(FILTER('IN','IN'[DATE] = _data),'IN'[COD_IN])
Result
Does someone know a good alternative for this measure?
File exemple: Example.pbix
Hi @maycon_bb
I have a few questions about this post, please help provide more detail information for us to solve it effectively.
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |