Forum Discussion

nh27's avatar
nh27
Helper III
4 years ago
Solved

Calculate discount using two tables

Hi fellow BI users, I need your help! I am trying to create a measure called Discount which takes the discount value from a table "Discount_Lookup" and applies it to the row in "ZSALES" table....
  • VahidDM's avatar
    4 years ago

    HI nh27 

     

    Can you share a sample of your data (both tables)?

    BTW, try this:

     

    Discount = SUM(Zsales[Subtotal1])*MAX(Discount_Lookup[Discount])

     

    If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

    Appreciate your Kudos!!