March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi Team,
We need to show the data of last one week for below graph based on the date of user selection.
And also if the date is not aviabale particluar day also need to show in graphs as blank.
Measure we are using:
Expected o/p: i want to show date of Jan 31st and 1st Feb and 2nd feb also in that grpah.(blank also fine for these dates).
Kindly anyone suggest this scenario?
Hello @Samba777ravuri
You can try this.
Avg_Rinse_Temp_7_Days =
VAR selected_date =
SELECTEDVALUE ( dimDate[DayDate] )
VAR _Avg =
CALCULATE (
DIVIDE (
SUM ( factWareWashEvents[RinseTempSum] ),
SUM ( factWareWashEvents[RackCount] )
),
CROSSFILTER ( dimDate[DateKey], factWareWashEvents[DateKey], NONE ),
FILTER (
Date_Table,
Date_Table[DayDate] >= selected_date - 7
&& Date_Table[DayDate] <= selected_date
)
)
RETURN
IF( ISBLANK( _Avg ), 0, _Avg )
yes, tried your logic...Same issue exists.
Expected o/p :
Hello @Samba777ravuri
Can you please share your pbix file after removing the sensitive data?
Thanks for your Response, I have 100 MB file, lt me share some dummy file...please share your email here
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
22 | |
19 | |
17 | |
9 | |
5 |
User | Count |
---|---|
37 | |
29 | |
16 | |
14 | |
12 |