Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have 2 slicers and 2 cards here. The cards are from different tables from the slicers. But they will only change when I use the YEAR slicer, but not for the PURPOSE. What DAX should I use to make the value change according to the slicer too?
I have tried to create this column in COST Table since the slicer is from the COST Table. But it won't work.
Solved! Go to Solution.
Hi @Anonymous ,
If you don't want to change the relationship, you can create measures like this.
Measure = CALCULATE(COUNT(dms[NAME]),FILTER(ALL(dms),dms[YEAR] in VALUES(cost[YEAR]) &&dms[PURPOSE] in VALUES(cost[PURPOSE])))
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
If you don't want to change the relationship, you can create measures like this.
Measure = CALCULATE(COUNT(dms[NAME]),FILTER(ALL(dms),dms[YEAR] in VALUES(cost[YEAR]) &&dms[PURPOSE] in VALUES(cost[PURPOSE])))
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I removed Null values on one side.
@Anonymous , you need to create a star schema model. Please find the attached file after signature
For some of the tables, I cannot create relationship as you show.
Is there another way to solve this?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |