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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
NarenderMakhija
New Member

Measure values are repeating in table

Hi Team,

I have a table that have fileds -  [Rec Year Month],       [No of Filter]   ,      [Received Date]
NarenderMakhija_0-1663750676050.png

I am showing them in power Bi table and it is repeating value of "2021-Jan" in each Rec Year Month. Below is my measure

Filer not null = calculate(DISTINCTCOUNT(Stage1_BI_Filers[NO_OF_FILERS]),FILTER(Stage1_BI_Filers, Stage1_BI_Filers[RECEIVED_DATE]<>"NUL"))

NarenderMakhija_2-1663751013356.png

 

But in sql i am getting rught data.

NarenderMakhija_5-1663751305772.png

 

In power Bi i am getting count 11147 in each [rec year month] but in sql jan-2021 has count 11147 and Feb-2021 has count 11821.

thatmeans in power bi it is repeating Jan-2021 count for every [rec year month]. 

Please advice me to sort out this issue so that it would not repeat same count .

 

Thanks & Regards

Narender

 

 

 

 

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @NarenderMakhija ,

 

I see you are using group by in sql, you may try this formula:

calculate(DISTINCTCOUNT(Stage1_BI_Filers[NO_OF_FILERS]),FILTER(ALLEXCEPT(Stage1_BI_Filers,[Year Month]), Stage1_BI_Filers[RECEIVED_DATE]<>"NUL"))

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hi @NarenderMakhija ,

 

I see you are using group by in sql, you may try this formula:

calculate(DISTINCTCOUNT(Stage1_BI_Filers[NO_OF_FILERS]),FILTER(ALLEXCEPT(Stage1_BI_Filers,[Year Month]), Stage1_BI_Filers[RECEIVED_DATE]<>"NUL"))

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
NarenderMakhija
New Member

Hello Team,
Any one knows about this?

 

Thanks 

Narender

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.