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.
Hi everyone!
I've been struggling with this problem for a few days, and I really hope for your help.
I have the following data model:
I need to show the sum of [ST] at the [Line] level in the following tables (with current selections line LB6 has the value 683,243 and line LC7 has the value 275,367, and I need to see these values in each record for corresponding [Line]):
The key difficulty here is that this sum at [Line] level:
- should be affected by selection in slicers [Line], [Object Type] and [Machine Description] (so if the user select something in these slicers, then the total sum could change);
- should NOT be affected by selection in slicers [Machine], [Equipment Type] and [FLoc ID] (the selection in these slicers don't change the sum at [Line] level).
I used the following formula:
But in reality here I should have just 4 records for which the relations in the data model are exists.
Here you could find the pbi app with data: https://drive.google.com/file/d/1mQvdpE9apnqv6NbsdyIaJdLd74KuYd7O/view?usp=sharing
Please help me to remove the incorrect records from the tables.
Many thanks in advance!
Alyona
Solved! Go to Solution.
In the green box you are mixing filters from the fact table (Table 1) and the dimension table (Table 2). That's a red flag. Ideally filters should only be applied at the dimension levels.
You can "fix" your visual by excluding rows where the "simple sum" measure is blank.
In the green box you are mixing filters from the fact table (Table 1) and the dimension table (Table 2). That's a red flag. Ideally filters should only be applied at the dimension levels.
You can "fix" your visual by excluding rows where the "simple sum" measure is blank.
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |