Quantcast
Viewing all articles
Browse latest Browse all 217117

Reference table dynamically in CountRows

Hi All!

 

I would like to countrows from a lot of tables. To count the rows from one table I am able to use the following DAX code:

 

Countrows(TABLENAME)

 

But now, i would like to count rows from around 100 tables. I have 1 table with all the names from the other tables in it.

 

What i would like to achieve is the following: I would like to reference a table, using another column, to count rows from that table). Is it possible to achieve this with DAX?

 

countrows(<Name Table>)

 

Name Table              CountRows

A                              countrows(A)

B                              countrows(B)

C                              countrows(C)

D                             ..

E

F

G

D

etc..

 

Thanks!


Viewing all articles
Browse latest Browse all 217117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>