Forum Discussion
Calculating Daily and All-Time Average Rank
Hi DataNinja777,
Thank you so much for your response.
The issue I'm having is when it comes to selecting my switch metric
For some more context my date selector/filter is in a table Date_and_Periods (column) Date Filter.
Date filter has a textb row called yesterday, but there is another regular dd/mm/yyyy column that I can use in the DAX.
I really appreciate your help.
Thanks again
Apologies the date table in my date selector is in the table Date Yesterday Filter (column) Date Filter with a text row called yesterday (and all other rows are dd/mm/yyyy, but there is another regular dd/mm/yyyy column that I can use in the DAX.
- lbendlin1 year agoSuper User
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523- RedJedi_811 year agoRegular Visitor
Date Channel Daypart Rank Average Views Share 06/03/2025 00:00 BBC News DAYTIME 1 88200 1.96% 06/03/2025 00:00 GB News DAYTIME 3 48100 1.07% 06/03/2025 00:00 Sky News DAYTIME 2 86100 1.92% 05/03/2025 00:00 BBC News DAYTIME 1 95200 2.08% 05/03/2025 00:00 GB News DAYTIME 3 80200 1.75% 05/03/2025 00:00 Sky News DAYTIME 2 81500 1.78% 04/03/2025 00:00 BBC News DAYTIME 1 102800 2.23% 04/03/2025 00:00 GB News DAYTIME 2 70200 1.52% 04/03/2025 00:00 Sky News DAYTIME 3 59200 1.28% 03/03/2025 00:00 BBC News DAYTIME 1 90100 1.97% 03/03/2025 00:00 GB News DAYTIME 2 82800 1.81% 03/03/2025 00:00 Sky News DAYTIME 3 75100 1.64% 02/03/2025 00:00 BBC News DAYTIME 1 181100 2.88% 02/03/2025 00:00 GB News DAYTIME 3 48300 0.77% 02/03/2025 00:00 Sky News DAYTIME 2 100100 1.59% 01/03/2025 00:00 BBC News DAYTIME 1 176100 3.18% 01/03/2025 00:00 GB News DAYTIME 3 46600 0.84% Hi Ibendlin,
Here is some sample data. The outcome I would like is:
e.g. Date [23/01/2024] = Channel, Views, Share, Rank, Avg. Views, Avg. Share, Avg Rank (based on all days except [23/01/2024].
ThanksPaul
- lbendlin1 year agoSuper User
Your sample only has DAYTIME numbers and does not have data for 23/01/2024 .
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.