Forum Discussion
DAX formula help needed
- Anonymous2 years ago
Hi John2 ,
The legend only accepts entity columns/calculated columns as values.
Please try new a calculated column first:Table = SUMMARIZE ( 'patch', 'patch'[computer id], "Compliant_%", VAR compliant_count = SUM ( patch[Compliant Count] ) VAR applicable_system_count = COUNTROWS ( patch ) RETURN DIVIDE ( compliant_count, applicable_system_count, 0 ) )and new a calculated column by use [Compliance_catergory] code:
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Hi John2 ,
The legend only accepts entity columns/calculated columns as values.
Please try new a calculated column first:
Table =
SUMMARIZE (
'patch',
'patch'[computer id],
"Compliant_%",
VAR compliant_count =
SUM ( patch[Compliant Count] )
VAR applicable_system_count =
COUNTROWS ( patch )
RETURN
DIVIDE ( compliant_count, applicable_system_count, 0 )
)
and new a calculated column by use [Compliance_catergory] code:
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group