Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I'm working on the Gantt chart based on the matrix table and would like to achive something like that with the colours, so in general from the first date to second I have one colour and then from second to third another one:
At the moment I have a measure that gives me 1 numbers during the whole project, but I was wondering how to divide it into several numbers like: first stage = 1, second stage = 2, then I would be able to dd conditional formatting:
CF Gantt =
VAR StartDate =
CALCULATE (
MIN ( dimE[Epic Start Date] ),
REMOVEFILTERS ( 'dimDate' )
)
VAR GoDate =
CALCULATE (
MIN ( dimE[Epic Go/NoGo Date] ),
REMOVEFILTERS ( 'dimDate' )
)
VAR EndDate =
CALCULATE (
MIN ( dimE[Epic End Date] ),
REMOVEFILTERS ( 'dimDate' )
)
VAR ProjectPeriod =
MIN ( 'dimDate'[Date] ) >= StartDate
&& MIN ( 'dimDate'[Date] ) <= EndDate
VAR Result =
IF (
ISBLANK ( StartDate ),
BLANK (),
IF (
ProjectPeriod,
1
)
)
RETURN
Result
Data model look like this:
Is it even possible?
@Anonymous may you help? 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
60 | |
51 | |
36 | |
36 |
User | Count |
---|---|
81 | |
72 | |
58 | |
45 | |
44 |