Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have created below calculated measures that will calculate values for current and previous days based on slicer Date selection. Is it possible to change the matrix table to below required format OR create a Date flag for Current, Previous 24 hrs to use with the measure to change the values dynamically. Thanks in advance !.
Current Format:
Required Format:
Hi @kumsha1 ,
Can you kindly provide me your sample data model or sample data? It couldn't be better if you offer me your formula of calculated measures.
Best Regards,
Yuna
Hi @Anonymous , how can i share sample .pbix file with you?
Hi @kumsha1 ,
Please share me with your pbix file from your Onedrive for Business. (just post a link as a reply)
Best Regards,
Yuna
Hi @kumsha1 ,
Based on your description, you can do some steps as follows.
Table =
ADDCOLUMNS(
SUMMARIZE(table2,[attribute.1]),
"Prev", MAXX(FILTER(ALL(table2),[attribute.2]<>BLANK()&&[attribute.1]=EARLIER('table2'[attribute.1])),[percentage]),
"Current",MAXX(FILTER(ALL(table2),[attribute.2]=BLANK()&&[attribute.1]=EARLIER('table2'[attribute.1])),[percentage])
)
Result:
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous , thanks for your reply.
All the objects are calculated measures... Hence, not available for column formatting 😞
@kumsha1 , You have do measure to dimension converiosn. You have create a table like this and display that in matrix
union(
summarize('Table',"Measure","Sales Growth", "ACT",[Sales Growth], "PY",[Sales Growth PY], "FC",[Sales Growth FC]),
summarize('Table',"Measure","Price Growth", "ACT",[Price Growth], "PY",[Price Growth PY], "FC",[Price Growth FC])
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.