Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
New user here, can someone please assist me with below?
I have a chart I need to create that is based of a Yes/No Column, I used the following formula:
However, issue is that I need the percentage to be daily, not total from the entire information and I am unsure on how to accomplish this.
Thanks in advance.
Solved! Go to Solution.
@cebd_31 , Try like
% Yes/No = DIVIDE(COUNT(Table2[Yes/No]),CALCULATE(COUNT(Table2[Yes/No]),ALLexpect(Table2, Table2[day])))
You are awesome my man!!
Hi @cebd_31 ,
You could do it with a couple of measures as well
Yes = divide(
calculate(countrows('table2'),'table2'[Yes/No] = "Yes"), calculate(countrows('table2'), ALL ( Table2[Yes/No] ))
No= divide(
calculate(countrows('table2'),'table2'[Yes/No] = "No"), calculate(countrows('table2'), ALL ( Table2[Yes/No] ))
Proud to be a Super User!
Hi @cebd_31
Try
% Yes/No =
DIVIDE (
COUNT ( Table2[Yes/No] ),
CALCULATE ( COUNT ( Table2[Yes/No] ), ALL ( Table2[Yes/No] ) )
)
Please mark the question solved when done and consider giving kudos if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
That should work.
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
44 | |
41 | |
39 | |
37 |