Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have a measure that tracks the amount of Returns (by Return number...which is a text value). This works fine for tracking current number of RMAs (returns).
However, I need to determine what the total count was, one week ago. Tried several formulas but it keeps returning a "blank" value. Any help is appreciated!
Hi,
Try this measure
=calculate([Distinct Count of RMAs],datesbetween('Date Table'[Date],MAX( 'Date Table'[Date])-7,MAX( 'Date Table'[Date])-7))
In the date slicer (created from the Date Table, select any date.
Hope this helps.
@Ashish_Mathur Unfortunately Ashish that still returned a blank value.
I should clarify that I am looking for a cumulative total. If you look at the small segment of a bar chart I have, you will see that we have just entered Week 40 (today). Last week, the total return count was 869. The week before (week 38) it was 844.
So technically, the formula should return 869 (that was the cumulative total for week 39, the previous week), since we are now in week 40. So when I say "last week" it is just not just a simple "today minus 7 days" as that would be a rolling week. I need the cumulative total.
Hi,
I will need your PBI file to work with. Also, in the Calendar Table, please ensure that you have a column for the week number.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |