Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Column filters and count

Hi,

I'm new to PowerBI. Ihave a table with multiple columns and 20k values.

I'd like to see the distribution of negative values (just count the occurrencies) over the hours of the day for each series. the first rows look like this:

 
Settlement HourVictoriaSudAustralia
04:30:0051,90252,902
05:00:0048,58749,339
05:30:0046,20346,533
06:00:0047,52148,598
06:30:0052,74855,028
07:00:0044,74546,015
07:30:0046,66147,364

I have tried just to set filters in the page displaying only negative elements , but they will apply togheter, then I'm counting only the occurrencies when both series are negatives!

 

if you couldn't answer, I hope you can address me to a nice tutorial on basics like this!

thanks a lot

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , not very clear. Try like

measure 1 =calculate(countrows(Table),table[value1]<0)

measure 2 =calculate(countrows(Table),table[value2]<0)

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , not very clear. Try like

measure 1 =calculate(countrows(Table),table[value1]<0)

measure 2 =calculate(countrows(Table),table[value2]<0)

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.