Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I have some document number transaction that sometimes can bring the same value but in multiple dates, so I need to bring just the value for the last date the most recent, but I need to sum the most recent value for each document number, could someone help me?
Hi,
Create a Date column by using the following calculated column formula
Date= 1*("1/"&Data[Month]&"/"&Data[Year])
Create a Calendar Table with a relationship (Many to One and Single) from the Date column created above to the Date column of the Calendar Table. To the Table visual, drag Document number column. Write these measures
Amt = sum(Data[Amount])
Measure = CALCULATE([Amt],LASTNONBLANK('Calendar'[Date],CALCULATE([amt])))
Share some data to work with (in a format the can be pasted in an MS Excel file) and show the expected result.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
106 | |
78 | |
72 | |
67 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |