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.
Hi Everyone,
I attached the PBI sample file and attached an image for my idea which I reached to shape staged already.
However, I'd like to use the data from 'Col-Type'[CurrentMonth] instead of typing "Mar" as in the provided sample dax because there're a couple dozens of similar measures will be used for different charts, I cannot really manullay update each and every one of them every month, instead It's my desire to just change data in 'Col-Type'[CurrentMonth].
Or Alternatives for my idea are very much appreciated.
Please help, thank youuuuu <33
https://drive.google.com/file/d/128YEVdMEsiBYfMy-R6J4SowibiA-sXoC/view?usp=sharing
OBActual_OB =
SUMX('Col_Type',
VAR CurrentType = 'Col_Type'[Col_Type]
Return
if
(CurrentType="OB Actual",
IF
(ISFILTERED('ORDER_TABLE'[MONTH])=False(),
CALCULATE(Sum('obcb'[OB Actual]), 'obcb'[Month] = "mar"),
FIRSTNONBLANK('obcb'[OB Actual],1)
)
)
)
Solved! Go to Solution.
Yayy, I got the SOLUTION
It didn't work because I put the CurrentMonth column in the same table of the month used to check against, now i created another table without making any relationship and use it in the conditional query.
OBActual_OB =
SUMX('Col_Type',
if
('Col_Type'[Col_Type]="OB Actual",
IF
(ISFILTERED('ORDER_TABLE'[MONTH])=True(),FIRSTNONBLANK('obcb'[OB Actual],1),
CALCULATE(Sum('obcb'[OB Actual]),'obcb'[Month]= SELECTEDVALUE(lastdatamonth[LastMonth]))
)
))
Yayy, I got the SOLUTION
It didn't work because I put the CurrentMonth column in the same table of the month used to check against, now i created another table without making any relationship and use it in the conditional query.
OBActual_OB =
SUMX('Col_Type',
if
('Col_Type'[Col_Type]="OB Actual",
IF
(ISFILTERED('ORDER_TABLE'[MONTH])=True(),FIRSTNONBLANK('obcb'[OB Actual],1),
CALCULATE(Sum('obcb'[OB Actual]),'obcb'[Month]= SELECTEDVALUE(lastdatamonth[LastMonth]))
)
))
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 |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 45 | |
| 42 | |
| 41 | |
| 21 | |
| 18 |