Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
How can the below DAX use groupby instead of summarize please?
SUMMARIZE (
'TablePH',
'TableP'[Field1],
'TableP'[Field3],
"CountOfCountries", DISTINCTCOUNT ( 'Table6'[Country] ),
"Hours", [Time]
)
Solved! Go to Solution.
Hi @Anonymous
Please see the below.
Measure = ADDCOLUMNS( GROUPBY( 'TablePH', 'TableP'[Field1], 'TableP'[Field3], "CountOfCountries", COUNTX( CURRENTGROUP(), DISTINCT( 'Table6'[Country] ) ) ), "Hours", [Time] )
Hi @Anonymous
Please see the below.
Measure = ADDCOLUMNS( GROUPBY( 'TablePH', 'TableP'[Field1], 'TableP'[Field3], "CountOfCountries", COUNTX( CURRENTGROUP(), DISTINCT( 'Table6'[Country] ) ) ), "Hours", [Time] )
thank you
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |