Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
efjw
Helper I
Helper I

Remove aggregation for gauge visual with PowerBI Semantic model (streaming dataset)

Hi! I am creating a gauge on powerBI desktop using a powerBI sematic model (streaming dataset) and I want to show real-time data. Although I have selected the no calculation onpton, powerbi still aggregates all data. I want to show the latest data and not the aggregation. How do I implement this?

 

efjw_0-1722567732613.png

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @efjw ,

 

For that you need to create a measure that pick up the latest data depending on the setup and the calculation you need it may be something similar to this:

 

Current Value = CALCULATE ( SUM(Table[Column]), FILTER(ALL(Calendar), Calendar[Date] = MAX(Table[Date]))

 

Be aware that I do not know how you have your model so this may not be the correct syntax.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
v-tangjie-msft
Community Support
Community Support

Hi @efjw ,

 

Did MFelix's  answer address your question? For streaming datasets, I think the filter pane is great. 

If the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

MFelix
Super User
Super User

Hi @efjw ,

 

For that you need to create a measure that pick up the latest data depending on the setup and the calculation you need it may be something similar to this:

 

Current Value = CALCULATE ( SUM(Table[Column]), FILTER(ALL(Calendar), Calendar[Date] = MAX(Table[Date]))

 

Be aware that I do not know how you have your model so this may not be the correct syntax.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi! @MFelix I am currently using a streaming dataset thus I am unable to create a measure. Do you know any workaround for this? Thanks 🙂

Hi @efjw ,

 

Have you tried using the filter pane and add the date and use the advance filter to get the data in the last 1 day?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.