Forum Discussion

lmheimendinger's avatar
lmheimendinger
Regular Visitor
7 years ago
Solved

How do I get the proper graphical display for a SharePoint List?

I have a SharePoint list that has records as follows;   For each location, there are multiple records as defined by 2. below. For each month of the year, there is a single record per location. ...
  • lmheimendinger's avatar
    lmheimendinger
    7 years ago

    Actually, I just solved this an hour ago.  And the solution is not as I would like, but it makes complete sense.

     

    In my two lists, I actually had fields so that if I used one list or the other, but not both, then it all worked as I wanted.  In particular, the MTD totals had a field for total MTD values in addition to the monthly goal so I used only one data source.  I used stacked vertical bars and got just what i wanted.

     

    Why didn't it work with two independent lists? I now realize that I would have had to establish a relationship between them for Power BI to "know" how one corresponded to the other and that having a column in each with same values (location) was simply not enough.  Guess I was just lucky when I set up the lists.

     

    Oh, let me add one thing about getting this to work.  Actually two things.

     

    1.   I had to edit the query and change the colunn type to fixed decimal on both goal and MTD.  That changed the column header to display $.
    2. In the Power BI values, I had to change from Count or Sum to Maximum.  For any given location, the record columns would contain the desired values, this worked just fine.  When I was using daily records, the MTD valuses would have to be Sum.