Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Slicer doesn't work on linechart

Hi, I have some trouble with he slicer not working on my linechart. As you can see in the first printscreen, the table shows all the orders of the company, with the amount in € and the ordertype. I...
  • HotChilli's avatar
    4 years ago

    I've had a look at it and, as suspected, the ordType from TDossierMain cannot filter the TInvoiceMain table due to relationship direction and the complications of the model.

    ----

    It's not a 5 minute job to tell you how to fix it.  It looks like a fairly classic case of throwing all the data from sqlserver into powerbi, hooking up the tables and adding fields to visualisations hoping it will 'just work'.

    However, it really needs a rethink on the model, remodelling it into Fact and Dimension tables in a star schema, working out the relationships and also removing most of the fields because there isn't any need for them in the visualisations.  If you're just starting out, it's going to be a steep learning curve 

    Maybe you can run through a course like this:

    https://docs.microsoft.com/en-us/learn/modules/design-model-power-bi/  and, having learned some solid foundations start to remodel the data.

    ---

    Also, please remove the pbix now because it looks like real data to me so should not be posted on a forum.

     

    Good luck