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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi Power BI Community - I was wondering if you could help figure out how I can filter two columns with one table.
So I used the below formula to filter the SubRpDate and it's working fine.
Hi @mbenjelloun,
Please Use SELECTEDVALUE() instead of USERELATIONSHIP():
Total Sub Award Dollar =
VAR sv =
FORMAT ( SELECTEDVALUE ( 'Calendar Table'[Date].[Year] ), "" )
RETURN
IF (
NOT ( ISFILTERED ( 'Calendar Table'[Date].[Year] ) ),
MAX ( 'Sub List'[Total FedOrigSubAmtNonDBE] )
+ MAX ( 'Sub List'[Total Sub DBEs Dollars] ),
IF (
FORMAT ( MAX ( 'Sub List'[SubRptDate] ), "YYYY" ) = sv
|| FORMAT ( MAX ( 'Sub List'[DateStart] ), "YYYY" ) = sv,
MAX ( 'Sub List'[Total FedOrigSubAmtNonDBE] )
+ MAX ( 'Sub List'[Total Sub DBEs Dollars] ),
BLANK ()
)
)
Result would be shown as below:
BTW, Pbix as attached. Hopefully works for you.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 54 | |
| 43 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 106 | |
| 44 | |
| 32 | |
| 24 |