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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Count number of changed items

Hello all,

 

I'm relatively new to queries and power bi but I've created some reports fairly easily. What I am trying to figure out is if there is a way to count the number of items in a data field that have changed values over a period of time. For example, lets say a fields has the possibility of havign the values of work in progress, complete, inactive. I would like to know how many WIP values have changed to complete over the past 7 days. Is that possible with a direct query from a oracel server?

 

3 REPLIES 3
Anonymous
Not applicable

Here is somethign similar to what the query brings back: What I would like is when i refresh the data in Power BI it will tell me how many of the WIP have changed to Complete over the past seven days.

Name         Status         Author

Object 1WIPJOE
Object 2CompleteMOM
Object 3WIPPOP
Object 4WIPPOP
Object 5InactiveJOE
Greg_Deckler
Community Champion
Community Champion

That could be quite tricky but you might be able to get there using something like COUNTX coupled with VALUES potentially. The idea would be to count how many different statuses a column has filtered by some identifier. It would perhaps be easier if EARLIER was supported in DirectQuery but I do not believe it is:

 

https://docs.microsoft.com/en-us/sql/analysis-services/tabular-models/dax-formula-compatibility-in-d...

 

Would perhaps be easier to answer if you posted some sample data and expected output. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
PattemManohar
Community Champion
Community Champion

@Anonymous  Please post some sample data in copiable format and expected output. It will be really helpful to understand your requirement in detail and to provide an accurate solution.





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

Proud to be a PBI Community Champion




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors