Hi could somebody help me with this requirement,
I have this simple table of data with a relationship to a date table
I am attempting to write a DAX formula to aggregate the above table to a monthly level grouped by Opportunity & TechnicianRole whilst averaging Technicians & Gap so the result would be:
I would use this DAX measure a line graph. Any advice would be appreciated. Thanks
Go to Solution.
1.You can add a column called month like this:
2.Then create two measures like below:
Technicans = AVERAGE('fact'[Technicians])
Gap = AVERAGE('fact'[Gap])
3.Then on the report page, create a new table visual:
You can also create line chart by using the measures you created.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
View solution in original post
you can slice by month and opportunity and simply USE MAX or MIN or SELECTEDVALUE to retrieve the respective comulm value
Click here to learn more about the September 2022 updates!
Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.
Watch Session 25 of Ted's Dev Camp.