Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Combing graphs from 2 datasets on the same tab

So I am sure what I am trying to do has been done before. I am half way there and feel like I am just missing a small piece. I am graphing revenue and hours on the same tab but the data is coming from different datasets. My filters for the date are working because they both are using the calendar date parameters on their respective other tabs for CY and PY calculations. However, I also have filters for Company, region and yard. For those they are using the fields from their own datasets on their own tabs, but I do have a hierarchy table. When I join each of the respective tables company code to the company code in the hierarchy only one them is a solid line, and the other is a dotted line. When I go back to the tab, only the data set with the solid line adjusts with the company filter. What am I doing wrong? One of the reasons I am not using the hierarchy for filters on the tabs is that sometimes yards move regions and company's and then historically they in two locations and I end up with errors. 

24 Replies

  • zoloturu's avatar
    zoloturu
    Icon for Memorable Member rankMemorable Member

    Anonymous ,

     

    Please post screen shots step by step on how do you receive an issue. Data can be masked. That will help to understand it better. 


    Regards,
    Ruslan Zolotukhin (zoloturu)
    BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer

    • Anonymous's avatar
      Anonymous
      Not applicable

      So now it will not let me create the second relationship between the jobs data set and the hierarchy. It gives the below message.  Below that is the screenshot of the join between the Utilization dataset and the hierarchy.

       

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    You may need to update your relationships to bi-directional.  If they are all single direction, this is the result I would expect.

     

    -Jared

    • Anonymous's avatar
      Anonymous
      Not applicable

      The relationships are many to many, but when I try to add a second join on company it says that it cannot make the join because it is ambiguous.

    • Anonymous's avatar
      Anonymous
      Not applicable

      But I am not trying to do a calculation I am trying to have filters work for 3 different data sets. I do not see how this resolves my issue.

      • vivran22's avatar
        vivran22
        Icon for Community Champion rankCommunity Champion

        Is it possible for you to share the sample data file or snapshot of the relationship view?

         

        Regards,

        Vivek

    • Anonymous's avatar
      Anonymous
      Not applicable

      So this works 2/3 of the way. I have to join 3 tables to my Company and Yard tables and for each of them it will not let me join them and make it active because it says there is a link between the company or yard table and the calendar table and there is no link between them for me to remove to make it work. I am at a loss.