Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Good Afternoon,
If i create a variable using summarizecolumns like so:
How would i then use this to count the "count" column
Solved! Go to Solution.
@sovereignauto With the table summarized, counting the count column is the same as counting the rows in the table so you can use COUNTROWS. You could also use COUNTX or any of the other X aggregation functions if you wanted to be specific about the column or wanted an aggregation like sum, SUMX(_data,[count]).
@sovereignauto With the table summarized, counting the count column is the same as counting the rows in the table so you can use COUNTROWS. You could also use COUNTX or any of the other X aggregation functions if you wanted to be specific about the column or wanted an aggregation like sum, SUMX(_data,[count]).
@Greg_Deckler Do you know why i would be getting the error:
ah so simple! i was having a moment and was just trying count() rather than countx!
ended up using count rows as per your advice!
thank you!