Forum Discussion
Retrieve the values from a column based on earliest date column for each row it applies
- 6 years ago
Create this measure and put it visual level filter
Measure 3 = var __id = min(Sheet1[hostname]) var __date = CALCULATE(max(Sheet1[action_start]),ALLSELECTED(Sheet1),Sheet1[hostname]=__id) return CALCULATE(COUNT(Sheet1[action_id]),VALUES(Sheet1[hostname]),Sheet1[hostname]=__id , Sheet1[action_start]=__date)Link : https://www.dropbox.com/s/bqd9vxp97cgm2u6/firstAction.pbix?dl=0
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Create this measure and put it visual level filter
Measure 3 =
var __id = min(Sheet1[hostname])
var __date = CALCULATE(max(Sheet1[action_start]),ALLSELECTED(Sheet1),Sheet1[hostname]=__id)
return
CALCULATE(COUNT(Sheet1[action_id]),VALUES(Sheet1[hostname]),Sheet1[hostname]=__id , Sheet1[action_start]=__date)
Link : https://www.dropbox.com/s/bqd9vxp97cgm2u6/firstAction.pbix?dl=0
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Hello Amit,
Like always, simply brilliant! Many thanks Amit, words can't describe how much I appreciate your help (once again)!
Cheers,
K