Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Cross selling matrix %
04-01-2023
10:25 AM
Hi!
I have created this cross selling matrix by this code
Nakup_prod_porov =
VAR Nakup= VALUES(Data_2022[Unique])
VAR Porovnanie_S = CALCULATETABLE(VALUES(Data_2022[Unique]), ALL('Tovarové skupiny'),
TREATAS(VALUES('Analýza správania zákazníkov'[Kód]), Data_2022[Tovarová skupina]) )
RETURN
IF(SELECTEDVALUE('Tovarové skupiny'[Názov])= SELECTEDVALUE('Analýza správania zákazníkov'[Názov]),
BLANK(),
COUNTROWS(INTERSECT( Nakup, Porovnanie_S)))
I want to make percentage matrix but this code doesn t work right.
%Percent_Nakup_Skup =
VAR Nakup = VALUES(Data_2022[Unique])
VAR Porovnanie_S = CALCULATETABLE(VALUES(Data_2022[Unique]), ALL('Tovarové skupiny'),
TREATAS(VALUES('Analýza správania zákazníkov'[Kód]), Data_2022[Tovarová skupina]))
VAR Pocet_Spolu = [Pocet_nakupov]
RETURN
IF(SELECTEDVALUE('Tovarové skupiny'[Názov]) = SELECTEDVALUE('Analýza správania zákazníkov'[Názov]),
BLANK(),
DIVIDE(COUNTROWS(INTERSECT(Nakup, Porovnanie_S)), Pocet_Spolu) )
There are different percentage values on same products so that not right.
Is there some way to calculate percentage cross selling matrix
Thak you !
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2023
05:01 PM

Hi,
Share some data, explain the question and show the expected result. If possible, please ensure column/table names are in English.
Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
07-05-2020 06:23 AM | |||
12-06-2024 09:18 AM | |||
11-29-2024 07:10 AM | |||
08-01-2024 09:31 PM | |||
05-23-2018 05:56 AM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
140 | |
110 | |
81 | |
60 | |
46 |