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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
LucasValiante77
New Member

Colectables by date reporting

I'm having a trouble with my visualization on powerbi desktop,

 

I created a dashboard on customer debts, with the aim of monitoring customer debts, and I created metrics to organize debts into columns 0-30 days | 30-60 days | 60-120 days|

 

When I generate the table view, the line does not respect the order of the columns and simply adds up all the values

 

formulas below: 

 

Difference Days =
VAR DataAtual = MAX('LU DATA'[Data])
RETURN
CALCULATE(DATEDIFF( MAX('TBL Divida Clientes'[DataVencimento]),DataAtual, DAY), CROSSFILTER('LU Data'[Data],'TBL Divida Clientes'[DataRegisto],none))


 
01 - 30 Days =
if([Difference Days]>=01 && [Difference Days]<=30, [Dívida Pendente Moeda Original], blank())
 
It was supposed to show like this:
 
LucasValiante77_3-1733241344714.png

 

How it's right now:   

LucasValiante77_4-1733241377007.png

 


 

I can only see it organized when I add the document data to the line, but this is unfeasible as there are clients with +100 documents: 

 

LucasValiante77_5-1733241445380.png

 

 

I aprecciate if anyone can help me, thanks 🙂



2 REPLIES 2
Anonymous
Not applicable

Hi @LucasValiante77 

 

What is the DAX code for [Dívida Pendente Moeda Original]?

01 - 30 Days =
if([Difference Days]>=01 && [Difference Days]<=30, [Dívida Pendente Moeda Original], blank())

Please provide sample data that fully covers your question and describe the efforts you have already made in this table visual.

How to provide sample data in the Power BI Forum - Microsoft Fabric Community

 

Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.