Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |