This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
Hoping someone can help!
I have a very simple measure based on a set of data that I want a trigger above 2499 as a value:
Trigger = if([Total Business Miles]>2499, 1,0)
All works well but then I am looking at it monthly and want to know how many of the last three months this has been reached. The total is showing 1 though as it is treating that as the measure also. Thus if the trigger is breached 3 times I want the total to be 3 not 1.
Does that make sense? Can anyone help
Many thanks
Solved! Go to Solution.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @GJLeslie,
You need to create a measure like this:
Trigger_Count =
IF (
HASONEVALUE ( 'Bussines Miles'[Total Bussines Miles] ),
[Trigger],
SUMX ( ALL ( 'Bussines Miles'[Date] ), [Trigger] )
)Final result below (don't know if want to use a table with date / trigger):
Regard,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português@MFelixMany thanks works a treat ! One slight build - I select months within years but the total is giving me the full year - is there a way of fixing that? Viusal:
The current formula I have is:
Trigger Count = IF (
HASONEVALUE ( 'Internal Mileage Report'[Business Miles] ),
[BM Trigger],
SUMX ( ALL ( 'Dates'[MonthName] ), [BM Trigger] )
)
Thus when I click on October it is giving me the count for the full year
Hope you can help!
Cheers
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |