Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello, I have a star schema and I am trying to create a measure that will provide me the total number of users broken down by account. There are a total of 20k users and when visualized in a table by account the total number of users is the same for all accounts. Do I need to use crossfilter? selectedvalue?
Solved! Go to Solution.
@ElvirBotic You need to modify your cross-filter direction of your Training to Users relationship to Both.
Hi @ElvirBotic ,
What is your Dax like, can you share it?
You can create a calculated table, which contains the columns for the slicer to use.
For example:
Slice Table =
SUMMARIZE('Table','Table'[date])
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
I used the following DAX.
@ElvirBotic You need to modify your cross-filter direction of your Training to Users relationship to Both.
I see. Thank you. Is this a scenario where using bi-directional filtering is okay? I was told to stay away from it like the plague.
@ElvirBotic Whoever told you that was smoking crack.
Is there a way to when using a slicer not have the "Total Users" measure not be impacted by different slicer inputs? Right now everytime I select a month or account it will also filter the table with the measure and I want it to always show a constant value.
@ElvirBotic Sure, use ALL or ALLEXCEPT or REMOVEFILTERS for instance in your measure to obliterate the existing filter context.
I think I am doing something wrong. The below DAX is still being affected by the month slicer in my model. 😞
User | Count |
---|---|
97 | |
87 | |
77 | |
67 | |
63 |
User | Count |
---|---|
110 | |
95 | |
95 | |
64 | |
59 |