Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a measure as follows:
Average Time to Empty Bin = TIME(INT(AVERAGE(Wave[Average Seconds to Empty Bin])/3600),INT(MOD(AVERAGE(Wave[Average Seconds to Empty Bin]),3600)/60),0)
It displays the data correctly.
However, my page has a number of slicers all of which are ignored if I include the measure in a table. If I remove the measure from the table the slicers work as expected. How can I get this column to work with the slicers?
Solved! Go to Solution.
Hi @RGI,
Please try the formula below. The reason is that the measure always has a value.
Average Time Empty Bin = IF ( HASONEVALUE ( Wave[Average Seconds to Empty Bin] ), TIME ( INT ( AVERAGE ( Wave[Average Seconds to Empty Bin] ) / 3600 ), INT ( MOD ( AVERAGE ( Wave[Average Seconds to Empty Bin] ), 3600 ) / 60 ), 0 ), BLANK () )
Best Regards,
Dale
Hi @RGI,
Can you share the file or a dummy sample? Just see from the formula, the slicers should work fine. So what's the result you expect?
Best Regards,
Dale
Here is a link to a sample pbix.
What I have found is that when I use the date column in the "wave" table instead of the "calendar" dimension table all is well.
However, I need to use the calendar table because I'm including several other tables on the report and they all link to the common calendar table.
On the sample report you'll see two similar tables. One has the calculated column and the other not. It should be pretty evident.
Hi @RGI,
Please try the formula below. The reason is that the measure always has a value.
Average Time Empty Bin = IF ( HASONEVALUE ( Wave[Average Seconds to Empty Bin] ), TIME ( INT ( AVERAGE ( Wave[Average Seconds to Empty Bin] ) / 3600 ), INT ( MOD ( AVERAGE ( Wave[Average Seconds to Empty Bin] ), 3600 ) / 60 ), 0 ), BLANK () )
Best Regards,
Dale
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |