Forum Discussion

prebenolsen's avatar
prebenolsen
Regular Visitor
4 years ago
Solved

Filter a date table with rows that have a value on January

Hi, 

 

I'll try to better explain the title here:

I have a dataset as you can see below (sample). 

I want to create a visual (barchart, table) shows the frequency of positive and negative for each month, for each ID.

The visual should only include rows that have a value in January. 

 

In the sample data, ID 1 and 2 both have values for January. ID 3 does not.

The visual should exclude ID 3, and present ID 1 and 2s positive and negative values for all months. 

 

IDMonthPositiveNegative
1January45
1February54
1March73
1April102
2January77
2February83
2March101
2April121
3February55
3March54

 

Is there an easy way of doing this, or is complex DAX required? 

1 Reply