Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |