Forum Discussion

corbincdc's avatar
corbincdc
Frequent Visitor
6 years ago
Solved

Formatting data for text aggregation

Hello- I am a little new to Power Bi. We operate a property management company. We have a data set that shows payments by source for a property.  I am trying to produce the following report in Power...
  • Ashish_Mathur's avatar
    6 years ago

    Hi,

    Drag the Property Look-up code to the visual and write these measures

    Total payments = COUNTROWS(Data)

    Online payments = CALCULATE([Total payments],Data[Type]="Online payment")

    Online payments (%) = [Online payments]/[Total payments]

    Drag the last measure to the visual.

    Hope this helps.