max date problem
6 TopicsObtain the last non blank selling price and cost price of the last transaction date
I need to the latest / most recent non blank selling price and cost price as per customer and item name. I had used this calculation for a calculated column as suggested RECENT DATE = IF(CALCULATE(MAX(Table1[Date_]),ALLEXCEPT(Table1,Table1[Item Name],Table1[Customer Name]))=Table1[Date_],"Y") This formula works and I was able to filter by dept. But i require the last non-blank value of the selling price and another issue with this formula is that if there are 3 transactions done for that day it sums the selling price of all 3 transactions rather than giving me a single amount. For eg. the most recent transaction of bbq sauce (in the given data) is on 10/4/23 but selling price is blank so i require the last time selling price was not blank for bbq sauce by customer and item. I have uploaded the data and the desired result. https://docs.google.com/spreadsheets/d/1vaM-SyZSevNx5oUkvk3xwivwB-J_KuPZ/edit?rtpof=true&sd=true#gid=300611335Solved770Views0likes3Commentshour difference without workhours
i have the following data start date end date status 2023-07-02 6:01:00 2023-07-04 15:10:11 confirmed 1- i want to calculate the time difference in hours only if it is between 8:00:00 and 17:10:00 so the example upove should be 25 hours 2- and i want the same thing but in minutes please help me and thank youSolved1.9KViews0likes9CommentsCalculation revenue for the last date
Hi, I am a bit lost concerning the use of MAX with dates. I thought it would be possible to use a dynamic max date and then combine it with a calculate revenue function. Here is my issue: I need a measure that takes into account only the freshest date in my data set. So in this case, for project release it needs to return only the revenue for the 2nd of December 2020. But filtering my revenue with the max date delivers an error. I am still new at DAX and getting confused by all the possibilities. How should I approach this? Thanks! Pauline.Solved865Views0likes2CommentsHow to get revenue for the last date in month
Hi, I need to write a measure for revenue based on a changing max date. This is the problem: in my raw data, I get the date for each stage change, meaning that one order will have for example 3 milestones with a different date and revenue associated. I need to report the revenue for the latest change within a milestones and a month and ignore all other revenue information. Let's say I have only one order to consider. Left is what I get as raw data from my databank, right is what I need to report: Is there anyway to define the revenue per milestone and link the max date information with a slicer (=showing up the last day of each month for the report to automatically adapt)? Any help for this will be really appreciated! Thanks, Pauline.Solved974Views0likes3CommentsGet the max value per date based in serial
I have 3 fields Serial, Date and Temp. The date field is actually a date time field I converted to just a date. I am trying to get the max Temp per date for each serial number. In the past I have done this to get the max date of each serial and filter on only the columns with 1. Max Date = IF('Export'[datetime]=CALCULATE(MAX('Export'[datetime]),ALLEXCEPT('Export','Export'[serialnumber])),1,0) The complexity here is adding the Temp. I need to flag each row somehow that this is the max temp for that serial on that day. Here is a sample of what I am trying to do. I dont necessarly need a max temp column with 1,0 but that how I was able to do it before.Solved530Views0likes1CommentSlicer - Max Date Problem
Hi, I'm using a slicer in my PBI report to select date range and this slicer automatically affects the default values on visuals. I see the min an max date value in my report on desktop. But when I publish it to the report server, I can't see the max date value. How can I fix that problem? Thank you721Views0likes0Comments