Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table that unfiltered has about 6mill records and I need a row counter that informs users how many rows they have. I have created a variable:
countrows = COUNTROWS(FactEvent)
It calculated correct value if I use only slicers on the page, but if I use filter and remove rows based on the dates, it doesn't adjust the value. As you can see on the image the value in totals of the first column (17) is not the same as the value in Row Count (335)
How can I count rows in my table and have value that takes to account both: the slicers and the filter?
Solved! Go to Solution.
Hello @Anonymous
Are you applying the filter mentioned only in the table?
Try applying it to the card too or in the fied "Filters on this page"
@Anonymous , All power bi visual gorup data , unless you add an index ot primary key column from you table as non summarized.
Rows are 335 summarized as 17
You make have take sount with all column in visual like
countrows(Summarize(Table, Table[Start Date]), Table[End Date], Table[Asset])) // add others
Hello @Anonymous
Are you applying the filter mentioned only in the table?
Try applying it to the card too or in the fied "Filters on this page"
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
8 | |
6 |