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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
Anonymous
Not applicable

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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