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 September 15. Request your voucher.
Hello,
I have created a Table visualization in the power bi report.
The visualised table contains Company name from the power bi table fields (Company) <- Collumn.
And the rest are the measures (images for reference below). Is there a way i can count postive and negative measurements? I would need a count of measurements that are positive and a count that are negative. Etc.
Thank you for the help.
Solved! Go to Solution.
@Anonymous
Try this Measure
CountPositives = COUNTX ( FILTER ( ALLSELECTED ( Companies[Company] ), [DynamicMonth] > 0 ), [DynamicMonth] )
@Anonymous
Try this Measure
CountPositives = COUNTX ( FILTER ( ALLSELECTED ( Companies[Company] ), [DynamicMonth] > 0 ), [DynamicMonth] )
Zubair_Muhammad works like a charm.
Thank you very much.
Did count by hand when the values were filtered by year etc. Works great!
User | Count |
---|---|
70 | |
64 | |
62 | |
48 | |
28 |
User | Count |
---|---|
113 | |
80 | |
64 | |
55 | |
43 |