Forum Discussion
Union data - Create new table / common table for different data set output
Hi all,
I am stuck with a report , where I have below representation of data .
Above 4 Table comes from different dataset , Customer wants to see as combined value whereas there is no common connecting factor .
Here continent is being connected with a country dimension table via lookup.
All the percentage values are measure which are calculated in runtime.
Another challenging part is we have visual level filter for each visual applied too.
This page also has a "created on" Date filter. Each data set has their own date column.
Customer wants to see the Continent name and percentages as like below ,
Kindly assist , How this can be solved.
Thanks in advance.
- Anonymous2 years ago
Hi Anonymous ,
A similar effect can be achieved by creating a calculated table and adding a calculate filter through the dax function. Refer to below formula:
Table = SUMMARIZECOLUMNS ( FactTable[Position], "result1", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "a" ), "result2", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "b" ), "result3", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "c" ), "result4", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "d" ) )Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi Anonymous ,
A similar effect can be achieved by creating a calculated table and adding a calculate filter through the dax function. Refer to below formula:
Table = SUMMARIZECOLUMNS ( FactTable[Position], "result1", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "a" ), "result2", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "b" ), "result3", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "c" ), "result4", CALCULATE ( SUM ( FactTable[Value] ), FactTable[Category] = "d" ) )Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.