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.
Let's say i've got 8 tables a,b,c... (300 000 to 5 000 000 rows) each of these containing column called "Value".In each table i've got measure that summarizes the "Value" column:
Total Value [name of table] = SUM("Value")
and then in table that is connected to all of them i gather all that measures in single measure:
All Total Values = CALCULATE(Total Value a + Total Value b ....)
Is it an optimal solution? or shall I skip measures and do it like this:
All Total Values = CALCULATE(SUM('a'[Value])+SUM('b'[Value])+...)
What is better when i'm looking for performance and size reduction of dataset?
Solved! Go to Solution.
hi, @Anonymous
For [Value] are from 8 tables, if you do not need to use each [Total Value] separately, you could just use this measure like this:
All Total Values = CALCULATE(SUM('a'[Value])+SUM('b'[Value])+...)
else you could create a measure for each table and use this measure like this:
All Total Values = CALCULATE(Total Value a + Total Value b ....)
They are basically the same, do not worry which is better.
And if these 8 tables have the same data structure, you may try to use Append Function in Edit Queries to append 8 tables to one
new table, then you could just sum[value] of new table.
Best Regards,
Lin
hi, @Anonymous
For [Value] are from 8 tables, if you do not need to use each [Total Value] separately, you could just use this measure like this:
All Total Values = CALCULATE(SUM('a'[Value])+SUM('b'[Value])+...)
else you could create a measure for each table and use this measure like this:
All Total Values = CALCULATE(Total Value a + Total Value b ....)
They are basically the same, do not worry which is better.
And if these 8 tables have the same data structure, you may try to use Append Function in Edit Queries to append 8 tables to one
new table, then you could just sum[value] of new table.
Best Regards,
Lin
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |