The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I need to be able to have BI do what I've done in Excel its just a simple divide the open vs the closed for each person but I'm having issues how do that. The peoples name are the rows, and the call status is the column and the value is the count of the contract id. Thanks
Shawn
Solved! Go to Solution.
Contract id is string?
If answer is yes, yo need to replace the measures:
TotalContracts=Calculate(Countrows(Table]))
Closed=Calculate(Countrows(Table]),Filter(Table,CallStatus="Close"))
Open=Calculate(Countrows(Table]),Filter(Table,CallStatus="Open"))
Hello:
Let's to try with these measures:
TotalContracts=Calculate(Count(Table[ContractId]))
Closed=Calculate(Count(Table[ContractId),Filter(Table,CallStatus="Close"))
Open=Calculate(Count(Table[ContractId),Filter(Table,CallStatus="Open"))
%Closed=Divide([Closed],[TotalContracts])
%Open=Divide([Open],[TotalContracts])
I have this done %Closed=Divide([Closed],[TotalContracts]) but I get this error now when I try to bring it on the page.
Contract id is string?
If answer is yes, yo need to replace the measures:
TotalContracts=Calculate(Countrows(Table]))
Closed=Calculate(Countrows(Table]),Filter(Table,CallStatus="Close"))
Open=Calculate(Countrows(Table]),Filter(Table,CallStatus="Open"))
So changing to count rows work, Thanks thats awesome. This is what I get now which is correct. Do you know if there is any good way to hide the extra columns that have showed up and just have the %Closed total at the end?
Hi ShawnPrice,
Currently there is no option available to hide the extra columns, but there is a workaround which you may take a try:
"
hover your mouse over your column heading that you want to "hide" and move it to the right until the mouse cursor changes to a <->, then left-click and drag to the left until it is completely hidden.
"
See this thread for reference:
How can i hide Column/measure in a Table
Regards
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
71 | |
48 | |
41 |
User | Count |
---|---|
138 | |
108 | |
71 | |
64 | |
58 |