Forum Discussion
SUM GROUP BY PERSON and LABOR DAY
- Anonymous7 years ago
Hi jrscaletta ,
After going through your pbix. I did the following
1. Created a measure
TotLabourDay = SUM(Calendario[LaborDay])
2. Replaced the field in the Card Visual with this.
3. Created another measure
TotByUser = CALCULATE(SELECTEDVALUE(PrevisionDedicacion[Expected h support]) *[TotLabourDay])Added this measure to your table visual.4. In the table visual set the visual filtering to Hours is Not blankCheersCheenuSing
Hi jrscaletta ,
Please post some data and your pbix in the shared OneDirve or Google Drive and paste the link here to find a solution.
What is output expected of the data posted ?
Cheers
CheenuSing
- jrscaletta7 years ago
Helper II
Hi Anonymous
Thanks for your reply. I'm going to to explain better and attach PBIX sample file.
The dashboard, now, shows this:
As you can see, I have 261 labors day selected by date slice.
Then, in "PrevisionDedicacion" table, I defined that for the user1, the expected hours by labor day are 3,20.
If I've selectec 261 labor day, how can I show this? (3.20 * 261) for each user?
Thanks in advance :)
- Anonymous7 years agoNot applicable
Hi jrscaletta ,
After going through your pbix. I did the following
1. Created a measure
TotLabourDay = SUM(Calendario[LaborDay])
2. Replaced the field in the Card Visual with this.
3. Created another measure
TotByUser = CALCULATE(SELECTEDVALUE(PrevisionDedicacion[Expected h support]) *[TotLabourDay])Added this measure to your table visual.4. In the table visual set the visual filtering to Hours is Not blankCheersCheenuSing- jrscaletta7 years ago
Helper II
It works!! Thanks Anonymous