Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hey Guys,
I need to calculate the distinct count of clients based on the previous year's and this year's fee
Right now i am using this
CALCULATE(DISTINCTCOUNT(FV[Client (Parent)]),SUM(FV[YTD PBR less BE (USD)]) <= 0,SUM(FV[Prior 1 YTD PBR less BE (USD)]) > 0)
where 'client parent' is the column header for clients, 'PBR less be' is the fee. So YTD is this year's and Prior 1 YTD is previous year's fee.
So what I am doing here is to see the number of clients whose fee was <= 0 (Less than) this year and > 0 (greater than) in previous year.
But this isn't working
Unfortunately I can't. The data is confidential. But this is exactly the same Calc I am doing. If there is some confusion I will happliy clear it.
HI @yash14vashistha,
Maybe you can try to use similar structure fake data to create sample file and share it.
Regards,
Xiaoxin Sheng
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 19 | |
| 17 |