Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Sum Distinct Values (Two variables: PI and IO with multiple Partners)

$
0
0

Hello Community Smiley Happy

 

Same Objective in all below scenarios (2 scenarios, but one Pivot. Is it possible using DAX?):
SUM UP Distinct Values (both for PI and IO, but special for IO I need to have a down level when it is possible to break total IO cost BY Partner) and then show this scenario in a Pivot)

Comments:
1- Despite I am a very beginner DAX user, I really tried for three weeks long to think about an one-way solution for this kind of report, but I have failed in all.
2- I even tried to create some sort of relationship between tables, but again have failed (fail example below).

 

Scenario 1 (Fact Table)
PIBudgetIOPartnerCost 
1101Sizmek1 
1101ROI2 
1101Tail1 
1101MediaMath1 
      
Pivot Objective:
PIBudgetIOPartnerCostMarkup (I know how to set a measure)
1101Sizmek1 
   ROI2 
   Tail1 
   MediaMath1 
Total10  55
      
Pivot Failure Example
PIBudgetIOPartnerCostMarkup
1101Sizmek19
1101ROI19
1101Tail19
1101MediaMath19
Can´t summarize none

 

Scenario 2 (Fact Table)
PIBudgetIOPartnerCost 
1201Sizmek1 
1201ROI2 
1201Tail1 
1201MediaMath1 
1202Sizmek1 
1202ROI2 
1202Tail1 
1202MediaMath1 
      
Pivot Objective:
PIBudgetIOPartnerCostMarkup
1201Sizmek1 
  1ROI2 
  1Tail1 
  1MediaMath1 
  2Sizmek1 
  2ROI2 
  2Tail1 
  2MediaMath1 
Total20  1010

 

Thanks a lot,

Jimmy


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>