Forum Discussion

PeterBI's avatar
PeterBI
Helper I
8 years ago
Solved

Creating and Using Measures in this Example

Hello,   I just started with PowerBI and need a little Help in creating measures and using it in a view. I have the following Table with a relation to the datekey Table and the Idea for the view. ...
  • MFelix's avatar
    MFelix
    8 years ago

    Hi PeterBI,

     

    First of all I just complicated the measure a lot just use this and it works perfectly good:

    WinnerQuote =
    DIVIDE (
        CALCULATE ( COUNT ( Winner[Winner] ), Winner[Winner] = 1 ),
        CALCULATE ( COUNT ( Winner[Winner] ) )
    )

    Just being hard because of a different problem I had before.

     

    Regarding the setup of the table here is the full menu copy:

     

    Regards,

    MFelix