Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
we have a situation with an Excel file which has 03 spreadsheets inside. When we open it via PBI, we select all of these 03. The
We need show on some page, the count of all records from spreadsheet A + all records from spreadsheet B + all records from spreadsheet C.
Let's say that the:
So, we need show that the results of this sum is '11'.
>>> How to accomplish that?
Solved! Go to Solution.
Hi @jr3151006
You can use something like the following:
Measure =
VAR _1 = COUNTROWS ( 'TableA' )
VAR _2 = COUNTROWS ( 'TableB' )
VAR _3 = COUNTROWS ( 'TableC' )
RETURN
_1 + _2 + _3
Hope this helps 🙂
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
@jr3151006 If all those 3 sheets have same structure so combine them by creating a new table using UNION function.
New Table = UNION(Sheet1,Sheet2,Sheet3)
Tks Tahreem24,
but the tables structure are not the same.
I was able to test with success the 'Teoc' advice.
tks for all!
Ok, tks, I'll try it in a few hours.
Another 'basic' question, if the end user (how has obtained access via share) change some filter, that new measure will respect the filter applied or it will be fixed?
@jr3151006 ,it will respect the filters in the current state.
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Hi @jr3151006
You can use something like the following:
Measure =
VAR _1 = COUNTROWS ( 'TableA' )
VAR _2 = COUNTROWS ( 'TableB' )
VAR _3 = COUNTROWS ( 'TableC' )
RETURN
_1 + _2 + _3
Hope this helps 🙂
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
75 | |
71 | |
70 | |
45 | |
43 |
User | Count |
---|---|
63 | |
41 | |
30 | |
28 | |
28 |