User Profile
bassmaninaus_PB
Frequent Visitor
Joined 5 years ago
User Widgets
Contributions
Dax measure to bring back the max volume date
Hi, I have a card displaying the maximum daily volume over a 12 month period. Measure is this: Max Daily Volume = MAXX( VALUES(Dates[Date]), [Total Forecast Volume]) I'm trying to create a tooltip so when hovering over that card, a table displays with all the records of just that day that has the maximum volume. The Card is correct with 13K on the maximum day and that lines up with the total of the tooltip, with 12,979 as the total. However it is showing all dates, I just want that maximum day to show. i.e the actual day with the maximum daily volume of 12,979 is 16th April 2024. Any ideas greatly appreciated. My thoughts are to create a measure that calculates that max volume day, returning 1 or 0 then using in the card filter, however need help!Solved605Views0likes1CommentMeasure to find a Score within a Range
Hi, need help with a measure. I'm trying to calculate the Score based on daily Variances. The Scores Table looks like this.. Forecast Nos Variance Min Variance Max Score 1 0 0.05 5 1 0.05 0.1 4 1 0.1 0.2 3 1 0.2 0.3 2 2 0 0.05 5 2 0.05 0.1 4 2 0.1 0.2 3 2 0.2 0.3 2 The table goes for 3000 or so rows and scores eventually change depending on the Forecast Nos getting larger. A Score of 1 to be applied if variance is out of the above ranges. The measure will need to look at (filter) for the forecast call numbers to get the ranges Forecast Nos = SUM(Actuals_SQL_ResMgmt[Res Forecast Queued (Net)]) Also, if the Forecast Nos is greater than the number of rows in the above table so the last Forecast Nos variance ranges and scores are to be applied to that. The Variance measure to get the Score from the Score Table is the following.. Results RM Vol % Var Absolute = AVERAGEX(VALUES(Actuals_SQL_ResMgmt[Date]),ABS(Measures_Actual_Res[Results RM Vol % Var])) Thanks in advance.Solved799Views0likes2CommentsRe: Highlighting the max value in bar chart issue
Thanks Gao, I can't quite get it to work with the interval as the x axis. Selecting one date ie 6th June by itself works, not when both dates are selected in a slicer. Very small sample data attached. Date Calls Interval Mon 6 Jun 22 1.408978719 7:30:00 AM Mon 6 Jun 22 1.867321194 7:45:00 AM Mon 6 Jun 22 1.731516016 8:00:00 AM Mon 6 Jun 22 1.850345546 8:15:00 AM Mon 6 Jun 22 2.80098179 8:30:00 AM Mon 6 Jun 22 3.41210509 8:45:00 AM Mon 6 Jun 22 3.581861562 9:00:00 AM Mon 6 Jun 22 4.75318122 9:15:00 AM Mon 6 Jun 22 4.685278631 9:30:00 AM Mon 6 Jun 22 7.163723124 9:45:00 AM Mon 6 Jun 22 8.029481132 10:00:00 AM Mon 6 Jun 22 9.608216323 10:15:00 AM Tue 7 Jun 22 1.279234313 7:30:00 AM Tue 7 Jun 22 1.695370777 7:45:00 AM Tue 7 Jun 22 1.572071084 8:00:00 AM Tue 7 Jun 22 1.679958315 8:15:00 AM Tue 7 Jun 22 2.543056165 8:30:00 AM Tue 7 Jun 22 3.097904783 8:45:00 AM Tue 7 Jun 22 3.252029399 9:00:00 AM Tue 7 Jun 22 4.31548925 9:15:00 AM Tue 7 Jun 22 4.253839403 9:30:00 AM Tue 7 Jun 22 6.504058798 9:45:00 AM Tue 7 Jun 22 7.29009434 10:00:00 AM Tue 7 Jun 22 8.723453269 10:15:00 AM Any help appreciated.858Views0likes2CommentsHighlighting the max value in bar chart issue
Hi, I'm trying to highlight the max value in my bar chart, I have it partially working however need help to finalise. As you can see this works with selecting an individual date, however if I select a range of dates or all dates the highlighted bar reverts. One date selected.. Multiple or all dates selected.. The DAX I'm using for the highlight is as follows, any help to get this working, appreciated! Max Interval = VAR MaxInterval = MAXX(ALLSELECTED(Interval),[Avg Calls per Interval]) Return IF( [Avg Calls per Interval] = MaxInterval, 1, 0 )Solved957Views0likes6CommentsSummarize with Filter not working
Hi, I'm trying to do two conditions with creating a new table. What I have so far is.. KeyClients>500 = CALCULATETABLE( SUMMARIZE( KeyClientData ,KeyClientData[Region] ,KeyClientData[Product] ,KeyClientData[CompanyCode] ,"ACDCalls", SUM(KeyClientData[ACDCalls]) ), FILTER( KeyClientData ,KeyClientData[LastMonth] = 1 && sum(KeyClientData[ACDCalls])>500) ) The condition of LastMonth = 1 is working however it's bringing back ACDCalls under 500. Can anyone see a simple fix? Thanks in advance!Solved1KViews0likes2CommentsDAX Weighted Average using Divide without calculating zeros
Hi, I'm using the following DAX to calculate the weighted average of two columns. I have a large matrix table and using the below formula on several columns and just changing the values range each time. 18 Onshore Temps NHT = IF( Divide ( SUMX( OpsLeaders, [6 Onshore Queued Volumes] * [18 Onshore Temps] ), SUMX( OpsLeaders, [6 Onshore Queued Volumes] )) = BLANK(), 0, Divide ( SUMX( OpsLeaders, [6 Onshore Queued Volumes] * [18 Onshore Temps] ), SUMX( OpsLeaders, [6 Onshore Queued Volumes] ))) This formula works well for columns where there is data for each day in both the weighting & values columns, but some values columns are zero/don't have data each day, so the weighting is alot lower I assume because it is including zeros. How can I adjust the above formula so it doesn't calculate zeros?Solved771Views0likes1Comment
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.