Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
66 | |
61 | |
46 | |
45 |