Reputation: 1
I have a Date Column in Power BI that displays dates in the typical dd/mm/yyyy format.
I would like to display, on a bar chart, the following:
Upvotes: 0
Views: 33
Reputation: 2480
you can try this to create a column
Column=
IF (
'Table'[Date] >= DATE ( 2024, 3, 25 )
&& 'Table'[Date] < DATE ( 2024, 10, 23 ),
"bar1",
IF ( 'Table'[Date] >= DATE ( 2024, 10, 24 ), "bar2" )
)
and not select blank in the filter
or you can use group and bin function, pls see the link below
Upvotes: 0