The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
13 | |
10 | |
10 | |
9 |