Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi everyone,
Is it possible to place this type of table into Power BI? I would need the table to calculate one set of values, but with different formulas above and below the grey line.
Example: Above the grey line needs to be values calculated by Formula #1 and below would calculated by Formula #2 (using the same set of values)
Solved! Go to Solution.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may go to 'Query Editor', click 'Add Column'=>'Index Column'.
Then you may create a measure as below. The measure is to calculate the sum of each column value for each row. You may replace 1,0 with formula1 and formula2.
Result =
var _index = SELECTEDVALUE('Table'[Index])
var _cash =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Cash Mgmnt])
)
)<_index,
1,0
)
var _finance =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Finance])
)
)<_index,
1,0
)
var _legal =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Legal])
)
)<_index,
1,0
)
var _loanops =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Loan Ops])
)
)<_index,
1,0
)
return
_cash+_finance+_legal+_loanops
Result:
Best Reagrds
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may go to 'Query Editor', click 'Add Column'=>'Index Column'.
Then you may create a measure as below. The measure is to calculate the sum of each column value for each row. You may replace 1,0 with formula1 and formula2.
Result =
var _index = SELECTEDVALUE('Table'[Index])
var _cash =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Cash Mgmnt])
)
)<_index,
1,0
)
var _finance =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Finance])
)
)<_index,
1,0
)
var _legal =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Legal])
)
)<_index,
1,0
)
var _loanops =
IF(
CALCULATE(
SUM('Table'[Index]),
FILTER(
ALL('Table'),
ISBLANK('Table'[Loan Ops])
)
)<_index,
1,0
)
return
_cash+_finance+_legal+_loanops
Result:
Best Reagrds
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 20 |
| User | Count |
|---|---|
| 142 | |
| 105 | |
| 63 | |
| 36 | |
| 35 |