Forum Discussion

porjaiko's avatar
porjaiko
Frequent Visitor
6 years ago
Solved

Need help

I want to move same date in same row.

            follow this pic.

 

thank you

  • Hi porjaiko ,

     

    You may create measure like DAX below, and put this new measure into your visual.

     

    DATE/TIME OUT new= IF(MAX(Table1[DATE/TIME OUT])=BLANK(), CALCULATE(MAX(Table1[DATE/TIME IN]), ALLEXCEPT(Table1,Table1[Department], Table1[Name], Table1[Surname])),MAX(Table1[DATE/TIME OUT]) )
    

     

    I am not sure what desired result would you want, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

     

    Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

     

    Best Regards,

    Amy

     

    Community Support Team _ Amy

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

  • porjaiko ,

     

    Use the below Measure to achieve your requirement:

    Measure = CALCULATE(MAX('Car Data'[Value]),ALLEXCEPT('Car Data','Car Data'[Type]))
     
    Don't forget to hit Thumbs up and accept this as a solution if you find it helpful! 
  • v-xicai's avatar
    v-xicai
    Community Support

    Hi porjaiko ,

     

    You may create measure like DAX below, and put this new measure into your visual.

     

    DATE/TIME OUT new= IF(MAX(Table1[DATE/TIME OUT])=BLANK(), CALCULATE(MAX(Table1[DATE/TIME IN]), ALLEXCEPT(Table1,Table1[Department], Table1[Name], Table1[Surname])),MAX(Table1[DATE/TIME OUT]) )
    

     

    I am not sure what desired result would you want, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

     

    Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

     

    Best Regards,

    Amy

     

    Community Support Team _ Amy

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.