Forum Discussion

gvg's avatar
gvg
Post Prodigy
9 years ago
Solved

Create a table from existing relationship

Hi. I can create a table visual from two related tables. But how can I create a table from them? For example, I have two related tables:   Category                                    Sales Catego...
  • gvg's avatar
    9 years ago

    Well, this can be achieved this way:

     

    Table 1 = SELECTCOLUMNS(Sales,"ProductID",Sales[ProductID],

                                          "Discount",LOOKUPVALUE(Category[Discount],Category[Category],Sales[Category]))