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 all,
In table visualization I have a text column for the same column I want to show the count of rows in Total section. How Can i do that without adding a new value column?
@AlexisOlson @amitchandak @ValtteriN
Ex: Desired Output:
Column 1 Column 2
A123 Fan
B123 Bag
C123 Phone
--------------------------------
Total = 3
Solved! Go to Solution.
@dhanekula1996 you can write a measure like this
Measure = if(HASONEVALUE('Table'[Column 1]),CALCULATE(MAX('Table'[Column 2])),COUNTROWS('Table'))
@dhanekula1996 you can write a measure like this
Measure = if(HASONEVALUE('Table'[Column 1]),CALCULATE(MAX('Table'[Column 2])),COUNTROWS('Table'))
Thank you!!
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |