"power bi report server"
3 TopicsHow to get customers have no Sales for three previous months
I have two tables CustInvoiceJour , CustInvoiceTrans are connected by the InvoiceId field in both tables. I added a slicer for InvoiceDate from the CustInvoiceTrans table. I want to identify customers who have no sales for three previous months from the date selected in the slicer. LineAmount is the column for sales amount. InvoiceAccount represents the customer number. DeliveryName is the customer name. InvoiceDate is the sales date.Solved863Views0likes3CommentsDAX mesures for compare text and dates in rows in one table with index
Hi I have index's table where one sujbect has 3 rows with data, which need to compare with this logic: if dates in columne "Date" "05-001-A" > "05-001-B" then need to compare with date in 05-001 - else compare dates in 05-001-B and 05-001. and second DAX mesure - need to compare text in columne "Text" between 05-001 and 05-001-B for result of both mesure - i need to get is 0 or 1 for color background of incorrect rows in 05-001 initial table: subject index Date Text 05-001 1 04.06.2024 Text 1 05-001-A 2 12.05.2024 05-001-B 3 05.06.2024 Text 2 06-001 4 12.03.2024 Text 3 06-001-A 5 12.03.2024 06-001-B 6 10.03.2024 Text 3 find mistakes - incorrect: subject index Date Text 05-001 1 04.06.2024 Text 1 05-001-A 2 12.05.2024 05-001-B 3 05.06.2024 Text 2 06-001 4 12.03.2024 Text 3 06-001-A 5 12.03.2024 06-001-B 6 10.03.2024 Text 3Solved817Views0likes3CommentsForecast value
I am trying to find out the forecast alue for the next dates using balow formula but after applying the forecast value it not showi n the next date value it showing collection values dax code Forecast 11 = VAR CurrentMonth = MONTH(MAX('Table'[Date])) VAR CurrentYear = YEAR(MAX('Table'[Date])) VAR LastDateOfMonth = CALCULATE(MAX('Table'[Date]), ALL('Table'), 'Table'[Date] >= DATE(CurrentYear, CurrentMonth, 1), 'Table'[Date] <= EOMONTH(MAX('Table'[Date]), 0)) VAR RemainingDays = LastDateOfMonth - MAX('Table'[Date]) + 1 RETURN IF(ISBLANK(SUM('Table'[Collection])), BLANK(), SUM('Table'[Collection]) * RemainingDays)735Views0likes2Comments