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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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