Forum Discussion
Not able to See attrition % based on Division
Please find attached PBIX file and let me know why Division in slicer aren't working for Attrition trend visual.
help me to fix thishttps://drive.google.com/drive/u/0/folders/1tZwOlYivEseUx_he2qc2l0cwkbs0Uqj8
Ankurdatascienc
Use CROSSFILTER function as per your filter propogation in the model..You need to setup CROSSFILTER for each measure based on your current model health.
I suggest you to have a read on below blog in order to have some idea how this relationship works in power bihttps://learn.microsoft.com/en-us/power-bi/transform-model/desktop-relationships-understand
Hope it helps
Regards
sanalytics
7 Replies
- pankajnamekar25
Super User
Hello Ankurdatascienc
In termination table add employeeID column and connect with Termination details Employee ID column.
It will solve your probelm
Thanks,
Pankaj Namekar | LinkedInIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
- sanalytics
Super User
Ankurdatascienc
Brother, Please create a proper dimensional Data model tarting any development—it will make your work significantly easier and more efficient..
Based on your current model and to help save your time, you can use the below code to achieve your solutionAttrition CrossFilter = CALCULATE( [Attrition rate %], CROSSFILTER( d_Date[Date],Terminations_details[Month],Both ) )Hope it helps
Regards
sanalytics
- AnkurdatasciencRegular Visitor
Thanks But one more query that Division slicer is working to filter for terminations but I want it to work for Current Headcount and hires as well. Please help
- sanalytics
Super User
Ankurdatascienc
Use CROSSFILTER function as per your filter propogation in the model..You need to setup CROSSFILTER for each measure based on your current model health.
I suggest you to have a read on below blog in order to have some idea how this relationship works in power bihttps://learn.microsoft.com/en-us/power-bi/transform-model/desktop-relationships-understand
Hope it helps
Regards
sanalytics
- v-prasare
Community Support
Hi Ankurdatascienc,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
- v-prasare
Community Support
Hi Ankurdatascienc,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
- v-prasare
Community Support
Hi Ankurdatascienc,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query