Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi all!
I need some help.
I have 3 columns in a summarize table (Provincia, Mes(month of the date of the main table, Total).
For each Mes(it is the month of a Date) I have sevaral values for the column "Total" and I only need the value according to the last date of each month.
For example:
For Tarragona I have 217 for December and 222, in this case according to the date I only need the 217 in mi table.
Can anybody help me?
thank you so much!
Solved! Go to Solution.
Hi all! In the end I solved it using Power M Query, I created a table with this 3 columns I need, then I sort them by the date and I add an index.
After that I used this formula in DAX:
Hi all! In the end I solved it using Power M Query, I created a table with this 3 columns I need, then I sort them by the date and I add an index.
After that I used this formula in DAX:
@cgil can you provide some sample data?
new measure = VAR _MaxDate=CALCULATE(MAX([date]),ALLSELECTED([Mes])) RETURN IF(MAX([date])=_MaxDate,SUM([Value]))
Hi! Thank you for your reply but it doesnt fit what I want...
This is my table:
It shows the same... 😥
Any suggestion?
Resumen = ADDCOLUMNS(SUMMARIZE(llamadas, LLAMADAS[Provincia],LLAMADAS[Fecha].[Mes],"Total",LASTNONBLANKVALUE(LLAMADAS[Fecha].[Date],SUM(LLAMADAS[Total])))
you may translate .[Date] into your language.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |