This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I need to add 0.5 to a measure within a matrix table, however when I do that it keeps adding a year to the table with 0.5 in that column. Is there a way to add 0.5 to the dax measure without it creating a default value for other years and adding them to the table?
For example, the table has 2021 data and 2022 data 2021 has the data which needs 0.5 added to it. However, by adding 0.5 to the dax measure it adds the years 2019, 2020 and 2023 with 0.5 only which isnt accurate.
The Dax measure used is:
Solved! Go to Solution.
FYI that you don't need the CALCULATE with that expression, but here is how to adapt it.
Weighted Average Profit Margin =
VAR wapf =
DIVIDE ( [IEA*PROFIT MARGIN], SUM ( 'Detail'[IEA] ) )
RETURN
IF ( ISBLANK ( wapf ), BLANK (), wapf + 0.5 )
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
FYI that you don't need the CALCULATE with that expression, but here is how to adapt it.
Weighted Average Profit Margin =
VAR wapf =
DIVIDE ( [IEA*PROFIT MARGIN], SUM ( 'Detail'[IEA] ) )
RETURN
IF ( ISBLANK ( wapf ), BLANK (), wapf + 0.5 )
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 28 | |
| 24 | |
| 22 |