Forum Discussion

Milchmaa's avatar
Milchmaa
Regular Visitor
3 years ago

Multiply fields with a connection

Hey there

 

I am very new to Power BI and tried so search a solution online but sadly did not find one (or I did not understand it maybe...).

I have two table. Left every "Tarifgruppe" has around 30 "Tarifgruppe". I want to multiply the value "Arbeitszeitanteil" with the corresponding field from the table left. Is this actually possible?

Many thanks already.

 

6 Replies

  • eliasayyy's avatar
    eliasayyy
    Memorable Member

    im not sure i understood but please try 

    Measure = CALCULATE( 'Table'[Tarifgruppe] * 'Table'[Arbeitszeitanteil]),ALLEXCEPT('Table','Table'[Tarifstufe]))

    • Milchmaa's avatar
      Milchmaa
      Regular Visitor

      I got an error with "Tarifgruppe" as there are various numbers. (it goes on with e.g. 20, 21...). 

      For example Tarifstufe 1 and Tarifgruppe 12 but also Tarifstufe 1 with Tarifgruppe 20. 

      Similar the right table. You know what I mean? 

      • eliasayyy's avatar
        eliasayyy
        Memorable Member

        Im not sure im understanding i will ask questions if it not a problem

         

        How many tables do you have 

         

        If more than 1 , are they connected through a relationship? 

         

        What is your expected results