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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am trying to calculate portfolio cash weight. The portfolio always has a percentage which is not invested and therefore doesn't sum to 100%. I have a measure which calculates this cash weight (CashWt = 100 - TotalWt). When I put the CashWt into the slicer it includes dates where there is no data. How can I remove those dates from the report. I want to be able to write a dax measure and not to use filters
Solved! Go to Solution.
CashWt = IF([TotalWt] = BLANK() , BLANK() , 100 - [TotalWt])
CashWt = IF([TotalWt] = BLANK() , BLANK() , 100 - [TotalWt])
Thanks, works perfectly!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!