Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Community –
I’m sourcing salesforce objects, including a User object (aka dimension table) with a system generated primary key / id, username, …
Some of those users are salespersons and their ids are foreign keys in FACTs (like Opportunities).
If relational, I could write custom SQL to source only salespersons (performance permitting). But since my source is cloud, can I use Power Query M or DAX so that visuals, slicers & filters only display the ~2 dozen salespersons’ names and not all 100+ names of SFDC users?
Thanks, Clay
Hi, @Anonymous
Based on description, you may create a calculated table which use Distinct(Dim values) and then put the column into the slicer. However, It will cause the issue when the range of Slicer is less than the range of fact table. Here is an example, the slicer can't filter the date range larger than its range. It is suggested that you use the larger range in the slicer.
If I misunderstand your thought, please show me your smaple data and expected result. Do mask sensitive data before uploading, I am glad to solve the problem for you.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
So, the behavior for visuals changes by toggling "Show items with no data" which I do need for the 1st visual I built but not a subsequent visual I copied. Still have the issue of slicers and filters displaying all Dim values not just those that exist in FACT. thanks Clay
Thanks Amit. Sourcing is import. Relationship is already Cross filter direction = Both. Changing the direction &/or "Applying Security" appears not to have any impact on the dim values in slicers, filters or visuals. The relationship with Cross filter direction = Both still behaves like an outer join.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
69 | |
55 | |
36 | |
31 |
User | Count |
---|---|
84 | |
63 | |
63 | |
49 | |
45 |