The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear, Community
i successfully puting a value a metrix but when it come to total i cant do it because the total would show just one result.
i want to create a new column that would aggreate total of TARGET_Product or Current_Product BY Branch_ID.
so how can i get the total of Target Product in each Branch_ID.
It can could be measure or column that fine
Thanks in advance
Hi @Anonymous ,
Sorry I'm not very clear about your desired result. Could you please explain more or show the desired result based on the sample?
Best Regards,
Kaly
@Anonymous for column create this:
Column =
VAR _branch = 'TableName'[Branch-ID]
RETURN
COUNTROWS(FILTER('Table', 'TableName'[Branch-ID] = _branch))
The filter works fine but i want to put it all in the same matrix. while i do so it likely to duplicate and count all the remaning column and stack on top of each other.
@Anonymous hard to work with screenshots.
Can you sent me the file and explain what you want to get?
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
15 | |
12 | |
12 | |
7 |