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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello Experts
I am building the Matrix visual, where I have the date column and all dates will be displayed in rows in table.
2023-08-26 |
2023-08-27 |
2023-08-28 |
Now I want to add another column that gives me max of date in each row
2023-08-26 | 2023-08-28 |
2023-08-27 | 2023-08-28 |
2023-08-28 | 2023-08-28 |
Tried different measures using max, but unfortunatley unable to get in desired format.
Any help is appretiated
Thanks experts for the answers, sorry for the late reply.
I have achieved this by using all solutions, my visuals has more than 10 columns and all these columns are affecting the max value.
Hence I achieved by exlcuding some columns from calculation and then taking max and then comparing with max date in dataset then filtered the rows.
MAX_DATE = MAXX(ALL(Dates),MAX(Dates[Date]))
--Try this one
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Hi!
Do you have an example of a measure yout tried or can you gives us more context of the filtering context?
For example, if you create a column in your table with the formula:
max_date = MAX('Calendar'[Date])
This gives the maximum value of the column "Date" in my Calendar.
You can then add this column to your visual
LMK if this helps
@askkumar Try something like: MAXX( ALL('Table'), [Date])