Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi everyone , i'm stuck on this . can anyone help me on this ?
Left side table : I have MEP and MLP Customers , there're 3 MEP customers and 4 MLP Customers.
Right Side table : 2 MEP Customers who purchased the Products out of 3 MEP customers and 3 MLP Customers who purchased the products out of 4 MLP customers .
my purpose , i wanna calcualate how many %Customers who purchased the products by each MEP or MLP ?
if i filter MEP it shows the %Customers out of Total MEP Customers
If i filter MLP it shows the %Customers out of Total MLP Customers
Thx
Solved! Go to Solution.
@Chanleakna123 I hope you are looking for something like this.. Please try this as a "New Measure"
Test151 = VAR _Type = SELECTEDVALUE(Test151Dim[Type]) VAR _DimCnt = CALCULATE(COUNTROWS(Test151Dim),Test151Dim[Type]=_Type) VAR _FactCnt = CALCULATE(COUNTROWS(Test151Fact),Test151Fact[Type] = _Type) RETURN _FactCnt/_DimCnt
Proud to be a PBI Community Champion
@Chanleakna123 I hope you are looking for something like this.. Please try this as a "New Measure"
Test151 = VAR _Type = SELECTEDVALUE(Test151Dim[Type]) VAR _DimCnt = CALCULATE(COUNTROWS(Test151Dim),Test151Dim[Type]=_Type) VAR _FactCnt = CALCULATE(COUNTROWS(Test151Fact),Test151Fact[Type] = _Type) RETURN _FactCnt/_DimCnt
Proud to be a PBI Community Champion
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |