Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Slicer filtering incorrect

Hi All,   I've a follow up query on a similar issue I posted before, data table have changed a bit.   Parent Table JDE Vendor Number Company Trading Name Delivery Partner Type Gas Rating S...
  • TheoC's avatar
    TheoC
    4 years ago

    Hi Anonymous 

     

    Q1. How do I move my dates to parent table, the date section is available in child table only, in the earlier instance I had rated non rated in parent table hence was able to filter.

    A. Given the structure has changed, I can only advise on what I'd do. I would find the primary key / unique identifier and create a calculated column that uses LOOKUPVALUE. 

    Calc Column = LOOKUPVALUE ( ChildTable[Date Column] , ChildTable[Primary Key Column] , Parent Table [Primary Key Column] )

    Q2. Apologies mate, I meant to write CY9 instead of CY10, (So, CY9> Not Rated> Gas >C,F,I) Contract year is a conditional column added acc to audit dates in child table.

    A. Sweet.

    Q3. For count of unrated, it shows 4 line item in the table after filtering but shows 0 in the card below, wanting the data to show 5 when rated and 4 when unrated (B,E,J,L), H shouldn't be there because H's category is Service not Gas.

    A. Factors that could be causing this is that you do not have a Service Type Filter that removes Service and only has Gas ticked.  It could be because the measure / count is not a distinct count on the OtherParticipants column. There are many factors unfortunately but those two are the most likely.

     

    Hope this helps!

     

    Cheers mate!

    Theo