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.
Solved! Go to Solution.
Hi @Anonymous,
I'd like to suggest you to union your tables and keep their table name.
Combine = UNION ( ADDCOLUMNS ( 'Subject A', "Table Name", "Subject A" ), ADDCOLUMNS ( 'Subject B', "Table Name", "Subject B" ), ADDCOLUMNS ( 'Subject C', "Table Name", "Subject C" ) )
Then write measure with condition to check their own table names.
meaure = VAR currDate = MAX ( Combine[Date] ) RETURN CALCULATE ( AVERAGE ( Combine[Amount] ), FILTER ( ALLSELECTED ( Combine ), 'date range filter formula' ), VALUES ( Combine[Table Name] ) )
Please use your date range filter formula to replace bold part.
Regards,
Xiaoxin Sheng
Hi @Anonymous,
I'd like to suggest you to union your tables and keep their table name.
Combine = UNION ( ADDCOLUMNS ( 'Subject A', "Table Name", "Subject A" ), ADDCOLUMNS ( 'Subject B', "Table Name", "Subject B" ), ADDCOLUMNS ( 'Subject C', "Table Name", "Subject C" ) )
Then write measure with condition to check their own table names.
meaure = VAR currDate = MAX ( Combine[Date] ) RETURN CALCULATE ( AVERAGE ( Combine[Amount] ), FILTER ( ALLSELECTED ( Combine ), 'date range filter formula' ), VALUES ( Combine[Table Name] ) )
Please use your date range filter formula to replace bold part.
Regards,
Xiaoxin Sheng
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |