The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello everybody,
Here is the situation :
I've got a table like this :
I'd like to build this matrix in Power BI:
There is also a filter on the client.
So if I select for example client A the matrix must be :
Please could you help me.
Thanks all.
Solved! Go to Solution.
@MiMich Hi! Here the measure to achieve the result:
also interacts with client slicer:
if it's oki, please accept my answer as solution.
BBF
en % Magasin vs Web =
VAR v = CALCULATE(SUM(Table[#ventes]), ALL(Table[Type vente]))
RETURN IF(v, DIVIDE(SUM(Table[#ventes]),v))
@MiMich Hi! Here the measure to achieve the result:
also interacts with client slicer:
if it's oki, please accept my answer as solution.
BBF
User | Count |
---|---|
20 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
28 | |
12 | |
12 | |
9 | |
8 |