Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Community,
Thanks for any help!
I have the following data schema:
I would like as a result All Prescribers that doesnt exists in "OActivities" and "Activities" Tables, but they exists in "Sales" Table. By now I solved it as following:
Measures:
Its working by now, but it is too slow (even with 5000 test prescribers). Also, when I increase the prescribers to more than 10,000 the visual breaks and show me the "Insufficient memory error".
I was thinking of maybe would be better to add a Boolean custom column that will do this check and return a true or false, then i can filter this column to show only the True ones (The ones that fits with the criteria), but im not sure how to do this.
Any other recommendation will be very welcome!
Thanks in advance!
Solved! Go to Solution.
@GuidoPinares , Prescribers is a dimension, it should not join with another dimension employee. Also avoid Bi-Directional join
In case you want just to filter the slicer based on employee refer
How to filter the slicer of a disconnected table: https://youtu.be/cV5WfaQt6C8
Hi @GuidoPinares ,
You can create a measure [Flag] as below and apply a visual-level filter with the codition ([Flag] is 1😞
Flag =
VAR _selpres =
SELECTEDVALUE ( Prescribers[PrescriberID] )
VAR _oactabs =
UNION (
VALUES ( OActivities[PrescriberID] ),
VALUES ( Activities[PrescriberID] )
)
VAR _selestab =
VALUES ( Sales[PrescriberID] )
RETURN
IF ( NOT ( _selpres ) IN _oactabs && _selpres IN _selestab, 1, 0 )
If the above one can't help you get the desired result, please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
@GuidoPinares , Prescribers is a dimension, it should not join with another dimension employee. Also avoid Bi-Directional join
In case you want just to filter the slicer based on employee refer
How to filter the slicer of a disconnected table: https://youtu.be/cV5WfaQt6C8
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 44 | |
| 40 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 69 | |
| 32 | |
| 32 | |
| 32 |