Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
ALLNOBLANKROW isn't giving me the results I expect, i'm trying to understand why...
My model is as follows:
PROJECT
BUDGET
Project and Budget are related by ProjectCode (1 to many). Budget has a project (12340) which is not in related table Project.
I have a measure:
I was expecting the blank row to be removed.
When I add the project description to the table and modify the measure as such, it seems to do what I want:
TotalBudgetNoBlanks = CALCULATE(SUM(Budget[Amount]), ALLNOBLANKROW(Project[ProjectCode]))
Solved! Go to Solution.
@bhalicki
You can modify your measure as follows. You are applying a filter from the Project table which will eliminate any value that is not available in the project table.
TotalBudgetNoBlanks = CALCULATE(SUM(Budget[Amount]), Project))
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@bhalicki
In your calculation, when you add Description, it adds a filter eventually filtering the values. I added Product as a filter to Calculate the force the only available Project Codes.
I will direct you to some good resources to understand further:
https://www.youtube.com/watch?v=GIP5dzBmUxc
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@bhalicki
You can modify your measure as follows. You are applying a filter from the Project table which will eliminate any value that is not available in the project table.
TotalBudgetNoBlanks = CALCULATE(SUM(Budget[Amount]), Project))
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmythat does exactly what i'm after, thank you very much! My only question is, are you able to explain why ALLNOBLANKROW is doing what it is in my scenario above? Based on documentation and tutorials, seems this is exactly what it is designed to do.
@bhalicki
In your calculation, when you add Description, it adds a filter eventually filtering the values. I added Product as a filter to Calculate the force the only available Project Codes.
I will direct you to some good resources to understand further:
https://www.youtube.com/watch?v=GIP5dzBmUxc
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
21 | |
17 | |
16 | |
11 | |
7 |
User | Count |
---|---|
26 | |
25 | |
12 | |
12 | |
12 |