Forum Discussion

marpisa's avatar
marpisa
Regular Visitor
5 years ago
Solved

Data Sheet as difference of two data sheets

Hi I have this situation:

Office365 "Users List (Title, Id)

Sharepoint List "AssignedHours" ("UserId", "AssignedHours")

Sharepoint List "TimesheetHours" ("UserId", "TimesheedHours")

 

I have two sheet visuals:

SUM(AssignedHours[AssignedHours])

SUM( TimesheetHours[TimesheetHours])

 

to display the totals for a single User.

 

My problem now is to display in another card the difference, for the selected user, of SUM(AssignedHours[AssignedHours]) - SUM( TimesheetHours[TimesheetHours]), so in the example 807

I have tried to get the visuals value, but I couldn't do it

 

Any suggestions?

Thanks

Marco

 

How can I do?

 

  • Hi, marpisa 

    According to your description, I think you can just use this measure to achieve this:

     

    Difference = [AssignedHours1]-[TimesheetHours1]

     

     

    And you can get what you want.

    You can download my test pbix file below

     

    If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

    How to Get Your Question Answered Quickly 

    Thank you very much!

     

    Best Regards,

    Community Support Team _Robert Qin

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

2 Replies