Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have 10 different columns in my table that will have 8 differnt posible words. I want the total count of how many times each word appears in each column. I am currenlty doing this with 10 mesures then adding them all together. Then rebeat for all words and all calumns that will be 90 measures. Is there a way to do it in one messure for each word?
Solved! Go to Solution.
Hi,
In the Query Editor, you should select all columns other than those which have the 10 text entries, right click and select "Unpivot Other Columns". To your visual, drag the Attribute field and write this measure
=countrows('Calibration_Issues')
Hope this helps.
Thank you both for your replies, Ashish solution worked. I will also record your solution MFelix as I see it as being usefull at a later time.
Hi,
In the Query Editor, you should select all columns other than those which have the 10 text entries, right click and select "Unpivot Other Columns". To your visual, drag the Attribute field and write this measure
=countrows('Calibration_Issues')
Hope this helps.
Hi @eric142 ,
Have you tried doing a disconnected table with the 10 words you need and then making a change to your formula to be similar to this one:
Trouble1 Picker = CALCULATE(COUNTAX('Calibration_Issues','Calibration_Issues'[1 Trouble]),'Calibration_Issues'[1 Trouble] in values (Table[Words]))
Then you would only have 10 measures and with a slicer or similar you could filter out the values you need.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |