Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
hi team ,
i use the status as manual on my file and i used Bar chart by counting the ID .
My purpose is to visualize , if the Case >30 Days it will show all of the Open Case to Close , but if it's <30 Days , it Remains the Same , show "Close " and "Open" Options .
how to success on this ?
Solved! Go to Solution.
It seems you need to create a calculated column and drag it to 'Legend' for your chart. Show a simplified sample here.
ChangeState =
IF (
DATEDIFF ( Table4[Date], TODAY (), DAY ) <= 30,
Table4[State],
IF (
DATEDIFF ( Table4[Date], TODAY (), DAY ) > 30
&& Table4[State] = "Open",
"Close",
Table4[State]
)
)
Regards,
Cherie
It seems you need to use DATESBETWEEN Function. If it is not your case, please share more about your simplified data sample and expected output.
Regards,
Cherie
Hi ,
below is what my expectation :
My purpose is to visualize , if the Case >30 Days it will show all of the Open Case to Close , but if it's <30 Days , it Remains the Same , show "Close " and "Open" Options .
how to success on this ?
Therefore if the Case still open from Jan to Aug , it will automatically closed ,
because i dun wanna see case open from Jan to Aug , only in september , Due to it will less than 30 days. if it more than 30 days Close automatically.
It seems you need to create a calculated column and drag it to 'Legend' for your chart. Show a simplified sample here.
ChangeState =
IF (
DATEDIFF ( Table4[Date], TODAY (), DAY ) <= 30,
Table4[State],
IF (
DATEDIFF ( Table4[Date], TODAY (), DAY ) > 30
&& Table4[State] = "Open",
"Close",
Table4[State]
)
)
Regards,
Cherie
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 47 | |
| 39 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 83 | |
| 70 | |
| 38 | |
| 28 | |
| 26 |