Forum Discussion

villasenorbritt's avatar
villasenorbritt
Icon for Resolver I rankResolver I
4 years ago
Solved

Filters/Slicers/Relationships

I am having trouble figuring out the complex nature of the relationhips and slicers that I need to make this project work, My Bar/Line graph is coming from a source named OnlyGoodData. There is another data source where the Thickness Issue is getting its data from, which is important to make sure we are not cherry picking what we consider "good data". I want to be able to click the thickness issue and have that show up on the graph so that we can visually see how many peices of wood per day per shift had these issues. I cannot connect the ThicknessIssues to the GoodData in a relationship because it is creating an issue with circular relationships. How would I do this?

  • I appreciate your input. I have solved my issues. I had made a bunch of SQL views in order to extract the info I wanted since I am not that great at Power Bi. This was creating issues since there were so many relationships and I could not figure out how to connect them. To fix this error, I decided it might be easier use formulas. I ended up creating a column that lists data as having issues or no issues, which is in the same table as the Thickness Issues and most of my other data. This eliminated my need to create all of these relationships and instead I am able to allow the user to choose whether to include or exclude data issues, and then filter in which data issues they want to see and this is all coming from the same table. I will say that part of the problem was that I had to create my own PK and FK to connect two of my tables. I did this by combining the "SampleNumber" and "ShiftDate" in SQL in order to create a view that contains unique values and connected them on that. 

3 Replies

    • villasenorbritt's avatar
      villasenorbritt
      Icon for Resolver I rankResolver I

      I appreciate your input. I have solved my issues. I had made a bunch of SQL views in order to extract the info I wanted since I am not that great at Power Bi. This was creating issues since there were so many relationships and I could not figure out how to connect them. To fix this error, I decided it might be easier use formulas. I ended up creating a column that lists data as having issues or no issues, which is in the same table as the Thickness Issues and most of my other data. This eliminated my need to create all of these relationships and instead I am able to allow the user to choose whether to include or exclude data issues, and then filter in which data issues they want to see and this is all coming from the same table. I will say that part of the problem was that I had to create my own PK and FK to connect two of my tables. I did this by combining the "SampleNumber" and "ShiftDate" in SQL in order to create a view that contains unique values and connected them on that. 

  • v-jingzhang's avatar
    v-jingzhang
    Icon for Community Support rankCommunity Support

    Hi villasenorbritt 

     

    Can you please show some sample data of the thickness issues and explain what to do with it? Where do you want to put it to be clicked in the report? On which graph do you want it to show up? And how are these thickness issues should be related to the good data? 

     

    Best Regards,
    Community Support Team _ Jing