Forum Discussion
Show 7 days before data
Hi everyone!
I am trying to show 7 days before sales quantity on column.
For represent task clearly, let me show result table as a screen of excel, which I am looking for, but in aiming of simplicity, not for 7 days before, but 1.
Sorry of using not a power bi data scree. That's cause of big data volumes in power bi area
Tryed to use LOOKUPVALUE and DATEADD, but without success
Hey,
an easy way is to create a seperate table like:
let
Source = YourTable
in
Table.Group(YourTable, "GroupByColumn", {"Total", each List.Sum([SumColumn])})
in
SourceHave a look to following function
https://msdn.microsoft.com/en-us/library/mt260774.aspx
3 Replies
- Greg_DecklerCommunity Champion
You should be able to add your Date column as a slicer on your report page and if you click the little drop down arrow on the right-hand side of the visual you can select Relative and enter a number of days.
- AzamatKudaevFrequent Visitor
It Is helpfull addition, but i need to see comparisons, as in result table in screen above
- WolfBiberMicrosoft Employee
Hey,
an easy way is to create a seperate table like:
let
Source = YourTable
in
Table.Group(YourTable, "GroupByColumn", {"Total", each List.Sum([SumColumn])})
in
SourceHave a look to following function
https://msdn.microsoft.com/en-us/library/mt260774.aspx