Forum Discussion
Divide filter
- Anonymous6 years ago
You have not closed bracket of calculate.
Try this
Divide% = Divide(Calculate([Total Breached],filter(table,table[Key]<>"471")),[Count of Incidents])Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.check my blog here
https://community.powerbi.com/t5/Community-Blog/Connecting-to-a-Tabular-Model-Using-Power-BI/ba-p/913784
Calculate([measure],filter(table,table[col]="value"),[measure2])
Thanks
Pravin
If it resolves your problem mark it as a solution and give Kudos.
- Anonymous6 years agoNot applicable
Hi Anonymous ,
Thanks for your reply.
I currently have:
Divide% = Divide(Calculate([Total Breached],filter(table,table[Key]<>"471"),[Count of Incidents]).This says too few arguments were passed to the divide function. The minimum is 2?Thanks in advanceLiam- Anonymous6 years agoNot applicable
You have not closed bracket of calculate.
Try this
Divide% = Divide(Calculate([Total Breached],filter(table,table[Key]<>"471")),[Count of Incidents])Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.check my blog here
https://community.powerbi.com/t5/Community-Blog/Connecting-to-a-Tabular-Model-Using-Power-BI/ba-p/913784- Anonymous6 years agoNot applicable
Hi Anonymous ,
Thankyou, it now accepts this.
I have both calculations next to each other in my matrix but the first divide displays all of the % as expected, but the new formula to filter out one of the rows, or display it as 0, displays blank on the whole column. Ive attached an image.
Would you have any idea why it displays like this?
Thanks again for your help with this
Liam