The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
In the below table I want the overall minutes to be always considered as 600 for each row. I wrote the dax for overall minutes as this:
Solved! Go to Solution.
Thanks. It helped a lot. I changed it to
@Anonymous
Please try
Overall Minutes =
CALCULATE (
SUMX (
VALUES ( table[NodeId] ),
CALCULATE ( DISTINCTCOUNT ( table[hour_start] ) * 60 )
),
ALLSELECTED ( table[avg_peoplecount] )
)
Thanks. It helped a lot. I changed it to
Thanks a lot
@Anonymous
Please try
Overall Minutes =
CALCULATE (
SUMX (
VALUES ( table[NodeId] ),
CALCULATE ( DISTINCTCOUNT ( table[hour_start] ) * 60 )
),
ALLSELECTED ( table[avg_peoplecount] )
)
Hi @Anonymous
please try
Overall Minutes =
CALCULATE (
SUMX (
SUMMARIZE ( 'Table', 'Table'[date_start], 'Table'[NodeId] ),
CALCULATE ( COUNT ( 'Table'[hour_start] ) * 60 )
),
ALLSELECTED ()
)
User | Count |
---|---|
14 | |
12 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
18 | |
13 | |
7 | |
5 |