March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Currently, I have a measure that takes Billable Hours (from a calculated column) and divides it by full time employee hours. Normal thing, 20/40 40/40 etc. However, in my table, I want to be able to have a slicer that says if under 50%, show, if not, dont show.
Currently, my slicer is only applying to the total Billable%. How do I get it to apply to all the values?
Ideally I'd like to remove the blue in the table. I believe the pink in the table is the only thing the logic is looking at.
Thanks in advance!
Solved! Go to Solution.
Hi @telusive ,
Here's my workaround, you just create a new measure to replace the original one.
Measure = IF([Billable%]<=0.5,[Billable%],BLANK())
As you can see, my newly created measure, values greater than 50% are blank.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @telusive ,
Here's my workaround, you just create a new measure to replace the original one.
Measure = IF([Billable%]<=0.5,[Billable%],BLANK())
As you can see, my newly created measure, values greater than 50% are blank.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It may be memory-intensive depending on your dataset size, but creating a new Billable% calculated column that controls for [Date] and [Name] would create something that you can use as an effective filter. Something like the below should work:
calculatedBillable%Column = CALCULATE([Billable Hours] / [FTE Hours], FILTER(myTable, EARLIER([Date]) = [Date] && EARLIER([Name]) = [Name]))
I had
Is this bc its a matrix table and there is 2 halves or did I screw up the calculated column? I had to reference the calculated columns with the MAX functions, did that cause the issues?
You should be using EARLIER( ) for both, and EARLIER( ) should come first in the formula (ie, EARLIER([column]) = [column] )
And just as an FYI, this kinda of filtering will only show values of 31% and not data for the entire row.
In theory, then I could group all values under 50% or is what I'm asking not possible?
Absolutely! You can just take the previous code and make it a variable (lets call it [temp] here) and use it as below:
yourColumn =
var temp = [...code from previous step...]
return if(temp <0.5, "Under 50%", "Not Under 50%")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
90 | |
90 | |
66 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |