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 all I want to filter an MDX query base on the sum of a integer field [Employee Wage Hours] at the year level, but displaying weekly summation results. Therefore I found how to filter taking into account the sum of [Employee Wage Hours] on a whole week (easy):
SELECT NON EMPTY{ [Measures].[Employee Wage Hours]
} ON COLUMNS,
FILTER (([03-Employee Info].[Employee Name].[Employee Name],
[02-Week Period].[Week No].[Week No],
[02-Week Period].[Hierarchy].[Year]
),
SUM([Measures].[Employee Wage Hours]) > 20
)
ON ROWS
FROM ( [Model])
Then I have the employee/week/year for which there is more than 20 [Employee Wage Hours] a week, for each week. But I cannot see, since I have a "week" row, how to have the same 3-uples for which there is more than 20 [Employee Wage Hours] a year. Do I have to use a WITH clause ?
Thanks for your answer...
the king will no doubt know the answer!
Proud to be a Super User!
@vanessafvg Hey Vanessa, you want to take a look at this? You opted for MDX questions hence seeking your expertise.
gosh i realise its been a while since i have had to do this! not sure i can help here.
Proud to be a Super User!
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 |
---|---|
37 | |
25 | |
19 | |
14 | |
8 |
User | Count |
---|---|
69 | |
48 | |
45 | |
18 | |
16 |