Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hello,
Is there a way to use this formula but of multiple text values?
= (Calculate(counta('Table'[Response]), 'Table'[Response] = "Yes")) / (Countrows ('TableName')
So instead of yes, I want to find the percent of the following text values:
AA - Other
AA - iLead
AB
Your help is appreciated.
Solved! Go to Solution.
Hi @AshleyRenee ,
You had the ( on the incorrect place try the following formula:
%referralstoAnyWhere =
DIVIDE (
(
CALCULATE (
COUNTA ( 'ReferralsToAnywhere'[realogy_group] ),
'ReferralsToAnywhere'[realogy_group] IN { "AA - iLead", "AA - Other", "AB" }
)
),
COUNTROWS ( 'ReferralsToAnywhere'[ReferralsToAnywhere] )
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @AshleyRenee
If you have that column on the visualization then you can do the following:
= DIVIDE((Calculate(counta('Table'[Response]), 'Table'[Response] in VALUES('Table'[Response]))) , (Countrows ('TableName'))
If you want to hard coded you can do:
=DIVIDE( (Calculate(counta('Table'[Response]), 'Table'[Response] in {"AA - Other", "AA - iLead", "AB"}) , (Countrows ('TableName'))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHello!
Thank you! I tried doing the foruma for the hard code.
Hi @AshleyRenee ,
You had the ( on the incorrect place try the following formula:
%referralstoAnyWhere =
DIVIDE (
(
CALCULATE (
COUNTA ( 'ReferralsToAnywhere'[realogy_group] ),
'ReferralsToAnywhere'[realogy_group] IN { "AA - iLead", "AA - Other", "AB" }
)
),
COUNTROWS ( 'ReferralsToAnywhere'[ReferralsToAnywhere] )
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.