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.
I have a DB table which has data as the following:
Please help on the below task asap.
Input Data | Output Data | |||||
Area | Element | Result | ||||
H.0100 | H.0100.01.01.01 | Area | Element | Required Result | ||
H.0100 | H.0100.01.01.01 | H.0100 | H.0100.01.01.01 | 4 | ||
H.0100 | H.0100.01.01.01 | H.0100 | H.0100.01.01.02 | 2 | ||
H.0100 | H.0100.01.01.01 | H.0130 | H.0130.01.03 | 3 | ||
H.0100 | H.0100.01.01.02 | H.0130 | H.0130.04.01 | 5 | ||
H.0100 | H.0100.01.01.02 | |||||
H.0130 | H.0130.01.03 | |||||
H.0130 | H.0130.01.03 | |||||
H.0130 | H.0130.01.03 | |||||
H.0130 | H.0130.04.01 | |||||
H.0130 | H.0130.04.01 | |||||
H.0130 | H.0130.04.01 | |||||
H.0130 | H.0130.04.01 | |||||
H.0130 | H.0130.04.01 |
Thank a Lot!!!
Solved! Go to Solution.
Hi @reddeppag,
In the second suggestion posted by @v-yulgu-msft, the function should be COUNTA().
Hi @reddeppag,
Two ways for your reference.
1. Create a calculated table like below.
Output = SUMMARIZE ( Input, Input[Area], Input[Element], "Count value", COUNT ( Input[Element] ) )
2. Based on your Input table, create a measure.
Required result = COUNT(Input[Element])
Then, in report view, insert a table visual, directly add above measure into visual.
Best regards,
Yuliana Gu
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
29 |
User | Count |
---|---|
94 | |
80 | |
55 | |
48 | |
48 |