I am struggling to manage to set up a slicer in Power BI on date column.
The problem I have is that I have a table with SalesDate so I created a table with client name and date of last sale.
Then I added a slicer on date column and here I am stuck.
I would like to be able to mark date into a slicer so the table returned me all the customers who DID NOT buy anything from a specific amount of time: last three months for example.
By default slicer shows me those transactions who did happen in the period I provide to a slicer.
Can I do it in anyway?
How to create a table using group by function (DAX) to identify the segment-wise average sales in power BI.
result should look like this
I am unable to calculate difference between the dates in two columns using DATEDIFF function of PowerBI. I have a restriction to pull the data only in DirectQuery Mode.
Below attached is the screenshot for the error that I am getting
How I create Custom CalendarLike this picture inside power Bi and get output based on date selection?
I created an SSAS Tabular Model in VS2017 and the model has a Date Table.
In the Data Table, I have measures to obtain the current week of the selected day (for my model, always TODAY()), and the weeks start on Monday and end on Sunday.
In my Power BI report I want to filter an entire page by the current week but if I use the "Relative Data Filtering" coming along with Power BI, the week starts at Sunday and ends on Monday. This leads to an error in the data display.
Now, the SSAS Tabular Model is deployed to an Azure Analysis Services server, and the Power BI report connects to this. In this case, I am not able to configure in Power BI any regional settings.
How can I filter an entire report page by the formatted week I have?
Thanks in advance.
Similar to this question, you can create a calculated column on your calendar table, Dates, to determine which dates to include or exclude.
Dates[IncludeDate] = IF( Dates[Date] >= [StartOfWeek] && Dates[Date] <= [EndOfWeek], 1, 0 )
Then use Dates[IncludeDate] is 1 as your filter.