Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have a large table with a number of values in a field that have 3-6 decimal places - I would like to see/extract these rows only. Is there a way I can do this using filters in Power BI Desktop?
Solved! Go to Solution.
Hi @Anonymous,
Maybe you could try this formula as a calculated column. Please test it before using it.
Decimal3to6 = VAR NumOfDecimal = IF ( [Column1] = TRUNC ( [Column1] ), 0, LEN ( [Column1] ) - LEN ( TRUNC ( [Column1] ) ) - 1 ) RETURN IF ( NumOfDecimal >= 3 && NumOfDecimal <= 6, 1, 0 )
Best Regards!
Dale
Hi @Anonymous,
Could you please mark the proper answer if it's convenient for you? That will be a help to others.
Best Regards!
Dale
Hi @Anonymous,
Maybe you could try this formula as a calculated column. Please test it before using it.
Decimal3to6 = VAR NumOfDecimal = IF ( [Column1] = TRUNC ( [Column1] ), 0, LEN ( [Column1] ) - LEN ( TRUNC ( [Column1] ) ) - 1 ) RETURN IF ( NumOfDecimal >= 3 && NumOfDecimal <= 6, 1, 0 )
Best Regards!
Dale
Hi @Anonymous
The way I would go about it is to go into the Query Editor and do the following:
Then in your report view you could use this as filter or slicer in your data.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
77 | |
65 | |
52 | |
30 |
User | Count |
---|---|
115 | |
114 | |
71 | |
66 | |
39 |