Hi
As a newbi in using excel cube formulas I have a problem I hope someone could be helping with.
Issue:
Getting top 5 top- and bottomcount for Customergroup.
The count should respect:
Selected Company dimension (there are several companies 10-15)
Selected invoiceperiod dimension
Cubeset formulas:
Topcount
CUBESET("Sales","topcount(([Company].[Company].["&$C$10&"],[Customer].[CustgroupIdName].children),5,sum(([Company].[Company].["&$C$10&"], [InvoiceDate].[YearMth].["&$C$16&"], [Measures].[LineAmount])))","Top 5 Customergroup")
Bottomcount
CUBESET("Sales","bottomcount(([Company].[Company].["&$C$10&"], [Customer].[CustgroupIdName].children),5,sum(([Company].[Company].["&$C$10&"], [InvoiceDate].[YearMth].["&$C$16&"], [Measures].[LineAmount])))","Bottom 5 Customergroup")
Cuberankedmember formula:
CUBERANKEDMEMBER("Sales",Top5Kundegrp,$I3)
(I3 = the rank eg. 1)
Cubevalue formula:
CUBEVALUE("Sales",$J3, $C$16,"[Measures].[LineAmount]")
(J3 = the cuberankedmember; C16 = [InvoiceDate].[YearMth].[2014 - Jan])
Remarks:
[Company].[Company].["&$C$10&"] = [Company].[Company].[USMF]
[InvoiceDate].[YearMth].["&$C$16&"] = [InvoiceDate].[YearMth].[2014 - Jan]
Shown for the topcount:
<tbody>
</tbody>
Could anyone help how to ensure:
When rank 4 and 5 are empty for the selected company – then don’t show those.
Why are they shown when in the cubeset I tried to filter on ONLY the selected company.
Thanks and have a nice weekend
As a newbi in using excel cube formulas I have a problem I hope someone could be helping with.
Issue:
Getting top 5 top- and bottomcount for Customergroup.
The count should respect:
Selected Company dimension (there are several companies 10-15)
Selected invoiceperiod dimension
Cubeset formulas:
Topcount
CUBESET("Sales","topcount(([Company].[Company].["&$C$10&"],[Customer].[CustgroupIdName].children),5,sum(([Company].[Company].["&$C$10&"], [InvoiceDate].[YearMth].["&$C$16&"], [Measures].[LineAmount])))","Top 5 Customergroup")
Bottomcount
CUBESET("Sales","bottomcount(([Company].[Company].["&$C$10&"], [Customer].[CustgroupIdName].children),5,sum(([Company].[Company].["&$C$10&"], [InvoiceDate].[YearMth].["&$C$16&"], [Measures].[LineAmount])))","Bottom 5 Customergroup")
Cuberankedmember formula:
CUBERANKEDMEMBER("Sales",Top5Kundegrp,$I3)
(I3 = the rank eg. 1)
Cubevalue formula:
CUBEVALUE("Sales",$J3, $C$16,"[Measures].[LineAmount]")
(J3 = the cuberankedmember; C16 = [InvoiceDate].[YearMth].[2014 - Jan])
Remarks:
[Company].[Company].["&$C$10&"] = [Company].[Company].[USMF]
[InvoiceDate].[YearMth].["&$C$16&"] = [InvoiceDate].[YearMth].[2014 - Jan]
Shown for the topcount:
Rank (typed in number Column I) | Customergroup (Cuberankedmember formula in Column J) | Lineamount (cubevalue formula in Column K) | Remarks |
1 | 30 - Retail customers | 2,052,524.00 | Values and group from USMF company |
2 | 10 - Wholesales customers | 1,803,576.00 | Values and group from USMF company |
3 | 90 - Intercompany customers | 328,130.00 | Values and group from USMF company |
4 | 90 - Intercompany customers | Zero value and group from company NOT selected | |
5 | 010 - Clientes região SE (Sudeste) | Zero value and group from company NOT selected |
<tbody>
</tbody>
Could anyone help how to ensure:
When rank 4 and 5 are empty for the selected company – then don’t show those.
Why are they shown when in the cubeset I tried to filter on ONLY the selected company.
Thanks and have a nice weekend