Forum Discussion
ADDCOLUMNMS
Hi all,
I have these Calculated Table DAX formulas
ADDCOLUMNS('RMBTrendData1',
"RMB Amount",
"RMB Amount",
Because the Order of TrendMeasure1 and TrendMeasure2 are different, a Calculated Table that union the results of these measures produce undesirable result.
Undesired Result:
TrendPoint RMB Amount
1 $14,000
$15,000 2
Desired Result:
TrendPoint RMB Amount
1 $14,000
2 $15,000
Could you try:
Trend = UNION( SUMMARIZECOLUMNS(TrendMeasures1[Trend Point],(TrendMeasures1[RMB Amount]) , SUMMARIZECOLUMNS(TrendMeasures2[Trend Point],(TrendMeasures2[RMB Amount]) )
Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!Stay up to date on
Read my blogs onRemember to spread knowledge in the community when you can!
2 Replies
- SteveCampbell
Memorable Member
Could you try:
Trend = UNION( SUMMARIZECOLUMNS(TrendMeasures1[Trend Point],(TrendMeasures1[RMB Amount]) , SUMMARIZECOLUMNS(TrendMeasures2[Trend Point],(TrendMeasures2[RMB Amount]) )
Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!Stay up to date on
Read my blogs onRemember to spread knowledge in the community when you can!
- Hashiru
Helper I
Thanks SteveCampbell